Scratch3 how to make the robot follow the mouse movement effect? Scratch mouse following skills

Time:2021-12-3

Some building blocks can use the mouse to control the robot movement. The mouse following effect in scratch3 can be realized in this way. Let’s take a look at the detailed tutorial below.

Software name:
Scratch3.0 offline version (children’s programming software) offline editor v3.6.0 Chinese free installation version
Software size:
171MB
Update time:
2020-02-21Download now

Delete the kitten role.

Import robot characters.

Click on the robot,Setup script。 Drag the green flag to the script area.Drag repeat execution to the script area.

In scratch3, there is a building block that slides to the mouse pointer within 1 second, which can make the robot move to the position of the mouse point.

Test the effect. Where is the mouse pointing? The robot slides to the known position within 1 second,Controls the position of the robot

The above is the scratch mouse following technique. I hope you like it. Please continue to pay attention to developeppaer.

Relevant recommendations:

How does scratch realize the kitten to follow the circular path?

How does scratch 3.0 make a character move to the pointer mouse position?

How does scratch draw with a mouse? Scratch to achieve the skills of drawing following the movement of the mouse