Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Wall Detection while moving with cursor
- delirium_2938
-
1 post
Wall Detection while moving with cursor
I'm currently making a project with an icon that follows your cursor. Can anyone show me how to let the icon bump into walls while still trying to follow the cursor?
- Aftons_fan913
-
64 posts
Wall Detection while moving with cursor
I'm not sure. Could yu provide a link to the project? I might be able to help then. Otherwise, maybe try adding a kind of a script to stop movement when it touches the color of a wall.
- BladiPetrov
-
100+ posts
Wall Detection while moving with cursor
Make it so in each frame, instead of teleporting to the mouse, it slowly moves (but in a single frame!!! use custom blocks!) through and if it touches a wall the follow ends
- Discussion Forums
- » Help with Scripts
-
» Wall Detection while moving with cursor