Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how would i make it so when i press "1" i switches to another sprite?
- dudehefell
-
Scratcher
1 post
how would i make it so when i press "1" i switches to another sprite?
im trying to figure this out pls help me
- Nes1Owe_Alt
-
Scratcher
1000+ posts
how would i make it so when i press "1" i switches to another sprite?
when [1 v] key pressed
switch costume to [insert costume here v]
For the future, these questions go into Help with Scripts.
- A_Maybe_Man
-
Scratcher
1 post
how would i make it so when i press "1" i switches to another sprite?
If you mean switching to another coustume do what @Nes1Owe_Alt said but to switch the sprite do this:
Make Two Sprites, Sprite A and Sprite B (or whatever you want the names to be) and code this in Sprite A(the one you want to switch off of when the 1 key is pressed):
Make Two Sprites, Sprite A and Sprite B (or whatever you want the names to be) and code this in Sprite A(the one you want to switch off of when the 1 key is pressed):
when green flag clickedAnd For Sprite B(The one we are switching to):
show
when [1] key pressed
hide
when green flag clicked
hide
when [1] key pressed
show
- Discussion Forums
- » Help with Scripts
-
» how would i make it so when i press "1" i switches to another sprite?