Changing scenes with on/off touch

crapscraps Member Posts: 353
edited November -1 in Working with GS (Mac)
Have an invisible actor A placed over a "switch" and want to turn the switch on / off with a "touch" (actually change between scene 1 and 2 - back and forth).

Actor A

Rule -all-touch.inside
change att - game.switchOn = true

Rule - game.switchOn = true
change scene - scene 2

The above of course works.

How can I have another of the same actor change the scene back to scene 1.

Comments

Sign In or Register to comment.