title: C# How to make seperate Panels move in different directions with a timer
body: <p>Ok, so I am working on a game engine, and I want to be able to make different Panels (the objects for the game engine) move when I check a checkbox</p>
  
  <p>But, I just don't know how to do so.</p>
  
  <pre><code>    private void Timer_Tick(object sender, EventArgs e)
      {
          foreach (KeyValuePair&lt;string, Panel&gt; kvp in objects)
          {
              if (running)
              {
                  Point loc = kvp.Value.Location;
                  loc.X = loc.X + 1;
                  kvp.Value.Location = loc;
              }
          }
      }
  </code></pre>
  
  <p>So for this code makes all objects move to the left, but say I want only one object to move and the other ones stay still, how would I do that?</p>
  
  <p>I have a text box that you type in to find the object but you have to click a button to find it.</p>
  
  <p>This is just a really confusing part of the Engine and I promised my self I wouldn't give up on it.</p>