Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do i make a sprite completely stop moving
- Supreme_Weeb
-
Scratcher
51 posts
how do i make a sprite completely stop moving
I need a sprite to stand completely still once it randomly switches to its other costume but idk how to do it
- Queer_Royalty
-
Scratcher
1000+ posts
how do i make a sprite completely stop moving
If you know where the sprite is standing, perhaps you could run your script, and then put this after it?
forever
go to x: (...) y: (...)
end
- holynootnoot
-
Scratcher
9 posts
how do i make a sprite completely stop moving
I need a sprite to stand completely still once it randomly switches to its other costume but idk how to do ityou need to do some stuff in the coding like, when ____ clicked stop sprite or something like that
- -UniverseCoder-
-
Scratcher
100+ posts
how do i make a sprite completely stop moving
Wrong forum. Reported to be moved to Help with Scripts. Someone will help you out there 

- ItsMe-XTV-
-
Scratcher
100+ posts
how do i make a sprite completely stop moving
Try this
when I receive [Whatever broadcast you want (should be activated when you want the person to stop moving) v]
next costume
stop [All other scripts in Sprite v]
- HyacinthoDani
-
Scratcher
47 posts
how do i make a sprite completely stop moving
Make it stop all the other scripts and forever go to the x,y u wanted
- Supreme_Weeb
-
Scratcher
51 posts
how do i make a sprite completely stop moving
If you know where the sprite is standing, perhaps you could run your script, and then put this after it?it takes it to the middle of the screen and I just need it to stop where it currently isforever
go to x: (...) y: (...)
end
- Supreme_Weeb
-
Scratcher
51 posts
how do i make a sprite completely stop moving
Make it stop all the other scripts and forever go to the x,y u wantedunhelpful
- Supreme_Weeb
-
Scratcher
51 posts
how do i make a sprite completely stop moving
Try thisstopping the script stops them from spawning so that wont workwhen I receive [Whatever broadcast you want (should be activated when you want the person to stop moving) v]
next costume
stop [All other scripts in Sprite v]
- thelion5000
-
Scratcher
100+ posts
how do i make a sprite completely stop moving
You need to make the random costume be set in a variable so you can know which costume it randomly chose
You need to do this:
Of course you can use one of these 2 blocks below it doesnt matter
You need to do this:
when [w] key pressed
if <not <(costume #) = (Costume random)> then
move (7) steps
end
Of course you can use one of these 2 blocks below it doesnt matter
if <> then
end
if <> then
else
end
Last edited by thelion5000 (Sept. 16, 2021 16:55:07)
- Discussion Forums
- » Help with Scripts
-
» how do i make a sprite completely stop moving






