Left and Right arrow keys to rotate your ship Up Arrow key to thrust forward. This is an example of how to implement screen wrapping where your sprite appears on the opposite side of the screen when it reaches an edge.