title: How to create and move 2 or more objects simultaneously
body: <p>I was trying to create a function that will load an image and move the image downwards while loading another image and still moving with the same speed as the first.  But I don't know how to do it, all I can do for now is to load the next image when the <code>y</code> coordinate of the first  is at <code>500</code></p>
  <pre><code>def aliens():
      s = 0
      i = &quot;345678&quot;
      c = 1
      b = int(&quot;&quot;.join(random.sample(i, c)))
      h = 1
      while h &lt; 2:
          while s &lt;= b:
              alien = pygame.image.load(&quot;ali.jpg&quot;)
              alien = pygame.transform.scale(alien, (100, 100))
              pos = &quot;0123456789&quot;
              l = 3
              x = int(&quot;&quot;.join(random.sample(pos, l)))
              y = 0
              if x &gt; 500:
                  h = 3
              crash = False
              s +=1
              while not crash :
                  scn.blit(alien, (x, y))
                  y +=2
                  pygame.display.flip()
                  if y &gt; 500:
                    crash = True
              
  </code></pre>