get status of button - isButtonDown
In Script, I can easily tell when and what button is pressed. Is there any way to tell when a button is released or in my case a when a switch is switched back off?
I'm trying to do something like this:
when switch 0 is on: do something
When switch 0 is off: do something else
thanks