title: Visual Basic - Auto Moving Pictures
body: <p>I'm making an application where I need "enemies" to pace back and forth, how would I automatically move the picture from left to right and repeat?</p>
  
  <p>Heres my current code.</p>
  
  <pre><code>Private Sub Timer1_Timer()
      enemy1.Left = enemy1.Left - 5
  End Sub
  </code></pre>