Advertisement
jabela

If statement to draw in Pygame

Dec 15th, 2015
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. if pressed1 == 1:
  2.             pygame.draw.rect(window, (0, 0, 255),(mouseX, mouseY, 5, 5))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement