0

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

1 comment

  • 0
    Avatar
    xgen


    Doh, RFM



    I found the answer to my own question.



    IsInputActive()



    Sorry All.
Please sign in to leave a comment.