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
i would like to sincerely apologize for the above post.
i am stupid, weird, worthless, and in general a bad person but at least i am decent at platformers.
- holynootnoot
- Scratcher
9 posts
how do i make a sprite completely stop moving
you need to do some stuff in the coding like, when ____ clicked stop sprite or something like that I need a sprite to stand completely still once it randomly switches to its other costume but idk how to do it
- -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
Select my siggy and use shift+down arrow to view the rest
I use the nono word.
Favorite Quote:
“In this world, it’s ninja or BE ninjaed.” – ScolderCreations
Search this in Google to find all my posts:f4117f308b6f2350959bdb493b0fb837268ac7523034cd8aa82d00a5d99cd2af
(o_o::#244ca5)(D_D::#3873f5)(o_o::#244ca5)('_'::#3873f5)(\( _ \(::#244ca5)(\) _ \)::#3873f5)::#181b29 reporterMade by mybearworld
- 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
when green flag clicked
forever
CLICK CLICK CLICK
end
NEVER STOP CLICKING
- Supreme_Weeb
- Scratcher
51 posts
how do i make a sprite completely stop moving
it takes it to the middle of the screen and I just need it to stop where it currently is 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
- Supreme_Weeb
- Scratcher
51 posts
how do i make a sprite completely stop moving
unhelpful 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
stopping the script stops them from spawning so that wont work Try thiswhen 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)
this could be me asking a question or me answering one, if i am answering a question then hope i helped and if i am asking one then hope somebody replies early. I will always try my best
- Discussion Forums
- » Help with Scripts
- » how do i make a sprite completely stop moving