Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make my sprite not go through another sprite
- BEamersers
-
Scratcher
1 post
How to make my sprite not go through another sprite
i have a map and ever time i move my spirit it goes through the other spirit
- MarvelousX
-
Scratcher
53 posts
How to make my sprite not go through another sprite
If you add an if condition to your movement code, it will work:
if <not <touching [sprite1 v] ?>> then
end
- deck26
-
Scratcher
1000+ posts
How to make my sprite not go through another sprite
To elaborate the usual method is to immediately undo any move that results in the sprites touching.
- Discussion Forums
- » Help with Scripts
-
» How to make my sprite not go through another sprite