Hello welcome to scratch have fun scripting and don't be afraid to ask questions, you can do it and it is quite simple.
Add these to the sprite you want clicked
when gf clicked set [hiding v] to [0] showand this:
when [sprite 1] clicked if <(hiding)=[0]> set [hiding v] to [1]//any variable which only contains 0's and 1's mean 0 off 1 on else set [hiding v] to [0] endadd these to the other sprites
when gf clicked forever if <(hiding)=[1]> hide else show end
Offline
Easy!
Here ya go! Add this one on the menu button:
when (menubutton) clicked broadcast <hide>And put this script on the ones you want to hide.
when I receive <hide> hide
Last edited by AgentCNF (2013-01-21 21:03:05)
Offline
AgentCNF wrote:
Duh! Easy!
Here ya go! Add this one on the menu button:when (menubutton) clicked broadcast <hide>And put this script on the ones you want to hide.when I receive <hide> hide
No offense, but the 'Duh' sounded a bit rude...
Offline
BLU_Spy wrote:
AgentCNF wrote:
Duh! Easy!
Here ya go! Add this one on the menu button:when (menubutton) clicked broadcast <hide>And put this script on the ones you want to hide.when I receive <hide> hideNo offense, but the 'Duh' sounded a bit rude...
LOL sorry didn't mean it to be.
Offline