Your Objective:
The Challenge
This week, we are going to using the Motion blocks combined with the wait blocks to have our Sprite move around the screen.
We want our Sprite to move in the shape of a square e.g. Move 50 steps, and rotate 90 degrees and repeat that process until the Sprite is back at its starting location.
Don’t forget to add wait blocks in-between the Motion blocks so that you can see the Sprite moving.
Add a ‘When Start Clicked’ event to your Sprite’s script so that the script will run when the program starts.
Then add a Move 50 Steps blocks underneath the event block, followed by a wait block of 0.5 seconds.
When you click on the 'Green Flag', the sprite should move in a square pattern!
Forgotten how to add blocks to your script?
Forgotten how to run the code blocks you’ve added to your script?
Forgotten how to change the values in a script block?