Skip to content

Commit

Permalink
fix missing syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
A1fus committed Oct 16, 2015
1 parent 0024659 commit 988e5bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Day-6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ screen.blit(label, (100, 100))

KEYDOWN isn't the only event supported by Pygame. The following code is an example of how to use the MOUSEMOTION event to move your paddle:

```
```python
if event.type == pygame.MOUSEMOTION:
coordinates = pygame.mouse.get_pos() #gives (x,y) coordinates
paddle_x = coordinates[0] #sets the paddle_x variable to the first item in coordinates
Expand Down

0 comments on commit 988e5bf

Please sign in to comment.