3 Simple Movement Blocks
-
Prerequisite
Description
The “Go to center”, “Forward” and “Backward” blocks are Stack blocks in the Motion category.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/a39a5419-662a-4ccf-8da0-967c65e099b5.PNG" width="650" style="">
The “Go to Center” Block
This block moves the sprite to the center of the stage.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/a348a6af-5ab3-4e45-8e7a-b26887e19de6.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
The “Forward” Block
This block moves a sprite forward, in the current direction that sprite is pointing to.
Note: by default a sprite points to the right.https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/3b70895e-8d07-4b54-b14f-e1d4dd0743ba.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
The “Backward” Block
This block moves a sprite backward, opposite to the direction the sprite is pointing to. So if a sprite is pointing down, then moving “backward” would make the sprite move up.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/42278325-22a7-4f67-95ae-9f79be97b2c3.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
Stopping at the Stage Edge
If you click the “Forward” or “Backward” block multiple times, it will keep moving the sprite until it reaches the edge of the Stage.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/27bddc41-e952-422a-bb21-8a1d2601356f.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
Tip: Reset to Center
Very often, the sprite’s position would change after a project runs. You can use the “Go to Center” block right after the Greenflag Block to bring the sprite back to the center position.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/075b60e0-6ee6-4c70-8512-2f286b02714e.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login