Use the mouse of drag (depending on which device your using) to get the ball. To collect it, just touch it. Make sure you don’t get hit by the robot! To leave out game lag, don’t use full screen. Put your score in the comments!
Thanks to Star Wars Coding Projects by Jon Woodcock. This wouldn’t be possible without this book.