Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Speed up Sprites when touching another Sprite
- Emma-Engadine
-
Scratcher
2 posts
Speed up Sprites when touching another Sprite
Hi, I need to make my boat sprite speed up when it touches the SpeedUp sprite and I'm not sure how to do it. Can anyone help me?
Thanks
Thanks

- littlebunny06
-
Scratcher
100+ posts
Speed up Sprites when touching another Sprite
You should share your project so I can understand what you are talking about…
- TomBarker23
-
Scratcher
4 posts
Speed up Sprites when touching another Sprite
Get a variable called Speed. Use that instead of whatever number you're using for moving your sprite. When you touch the Speed Up sprite, have it increase the variable's value for a few seconds.
- axy_and_axo
-
Scratcher
1 post
Speed up Sprites when touching another Sprite
still don't relly get it just dose not work
- JRENZO10
-
Scratcher
10 posts
Speed up Sprites when touching another Sprite
still don't relly get it just dose not workYou'll want to have a variable called “speed” replacing the numbers in all your “move __ steps” and “change x/y by __” blocks, then change the speed whenever you touch a speed boost
- creeperyeettt
-
Scratcher
500+ posts
Speed up Sprites when touching another Sprite
move (speed var) steps
when green flag clicked
forever
if <touching [speed boost v] ?> then
set [speed var v] to [50]
else
set [speed var v] to [25]
end
Last edited by creeperyeettt (April 21, 2023 18:14:19)
- thenumberblocks2013
-
Scratcher
83 posts
Speed up Sprites when touching another Sprite
define no body like me
clear pen
- 09878901234321
-
Scratcher
500+ posts
Speed up Sprites when touching another Sprite
still don't relly get it just dose not workDon't necropost.
- Discussion Forums
- » Help with Scripts
-
» Speed up Sprites when touching another Sprite

