Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I make on and off buttons?
- Gem-Studios
-
2 posts
How do I make on and off buttons?
Hi! so I've been having a little trouble with something…
So I cant figure out how to make a functional on and off button. what I mean is this:
you can click the button and it makes the light turn on
and when you click it again it makes the light turn off. I know it may seem super simple but I'm kinda new to this. so can anyone help?
So I cant figure out how to make a functional on and off button. what I mean is this:
you can click the button and it makes the light turn on
and when you click it again it makes the light turn off. I know it may seem super simple but I'm kinda new to this. so can anyone help?
- nonethenones
-
100+ posts
How do I make on and off buttons?
Last edited by nonethenones (Jan. 28, 2017 22:07:17)
- Toasty_Boy
-
100+ posts
How do I make on and off buttons?
Also in the two different button sprites you could add a
If this is to advanced then @nonethenones recommendation would be better.
and at the receiving sprite
Same thing for the off button.
If this is to advanced then @nonethenones recommendation would be better.
- woozybear62
-
1 post
How do I make on and off buttons?
EZ (easy) quick note: please be using scratch 2.0 version
Last edited by woozybear62 (June 24, 2017 22:39:53)
- footsocktoe
-
1000+ posts
How do I make on and off buttons?
Hi! so I've been having a little trouble with something…
So I cant figure out how to make a functional on and off button. what I mean is this:
you can click the button and it makes the light turn on
and when you click it again it makes the light turn off. I know it may seem super simple but I'm kinda new to this. so can anyone help?
Here is the easy way…
https://scratch.mit.edu/projects/155774332/
- clego
-
16 posts
How do I make on and off buttons?
I believe you are talking about a toggle on and off button:
- asivi
-
1000+ posts
How do I make on and off buttons?
Hi! so I've been having a little trouble with something…
So I cant figure out how to make a functional on and off button. what I mean is this:
you can click the button and it makes the light turn on
and when you click it again it makes the light turn off. I know it may seem super simple but I'm kinda new to this. so can anyone help?
Here is the easy way…
https://scratch.mit.edu/projects/155774332/
^^^ good ^^^
- Paigeri
-
500+ posts
How do I make on and off buttons?
Since you have figured this out, I would suggest this to be closed so the forums can be a little bit more organized 

- awesomellama08
-
11 posts
How do I make on and off buttons?
Hi, I think I know so first you do this stuff
- Discussion Forums
- » Help with Scripts
-
» How do I make on and off buttons?