title: Pygame Mouse movement
body: <p>I have an event which makes me able to move a sqaure(a_block) with the mouse. However, I can't seem to change it to move if the mousebutton is constantly pressed down</p>
  
  <pre><code>if event.type == pygame.MOUSEMOTION:
      mouse_position = pygame.mouse.get_pos()
      a_block.set_position(mouse_position[0],mouse_position[1]
  </code></pre>