Start by creating a player
sprite that can move around your world.
Open the ‘Create your own world’ Scratch starter project.
Online: open the online starter project at create-your-own-world-on.
Pressing the arrow keys should move the
sprite around. When the up arrow is pressed, the player
sprite should move upwards on the Stage in response.player
Add this code to the
sprite:player
Click the flag and then hold down the up arrow. Does the
sprite move up?player
To move the
sprite to the left, you need to add another player
if
block with similar code:
Add more code to your
sprite so it can move down and to the right as well. Use the code you already have to help you.player