Now we can use our random x-coordinate to place the ball!
- Click the Codesters tab. Then, go to and drag Go To into your program.
- Change the name in front of the .go_to() command to ball.
- Replace the first number in the .go_to() command with x and the second with -25. Like this: (x, -25).
Now when we press Run the ball will go to a random position on the stage.