Boolean switcher

Right now I am trying to make a button that you can touch and it changes the image and when it is touched again it switches back, the way i have it set up is that if touch is released and if the button is not already true then make it true, that works fine, but then when I add in the next rule for turning it back off, which is false, it does not work anymore, is there any command that just switches booleans? For example, if it would just say change attribute "game.boolean" to the other true or false

Comments

Sign In or Register to comment.