title: how to make an object move up, down, left and right using a loop in visual studio using c#
body: <p>i can make a picture in a picture box move right and down using a for loop, this is what my code looks like.</p>
  
  <pre><code>private void xAnimeTimer_Tick(object sender, EventArgs e)
      {
          int count;
  
  
          this.xAnimeTimer.Stop();
  
  
  
          //   start point   end point   speed
          for (count = 0; count &lt;= 1350; count+=2)
          {
              this.xAnimePictureBox.Left = count;
  
  
          }
  
          for (count = 0; count &lt;= 810; count += 2)
          {
              this.xAnimePictureBox.Top = count;
  
  
          }
  </code></pre>
  
  <p>I cant figure out how to get the picture to move up and left, i can only get it to move right and down.</p>