If button has been pushed?

sarmigsarmig Member Posts: 89
Hello.

Is there a way that can say in code: "If the button has been pushed, do this"?

Comments

  • Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    sarmig wrote:
    Hello.

    Is there a way that can say in code: "If the button has been pushed, do this"?

    The Trigger OnPush() doens't work for you?
    ~Rik~
    It works as expected... More or Less...
  • sarmigsarmig Member Posts: 89
    Nevermind, I just found out how to do what I want to do.

    I created a boolean variable, which changed to true when the button was pushed.

    I rushed myself into posting this topic, sorry. And thanks!
  • Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    sarmig wrote:
    Nevermind, I just found out how to do what I want to do.

    I created a boolean variable, which changed to true when the button was pushed.

    I rushed myself into posting this topic, sorry. And thanks!


    :thumbsup:
    ~Rik~
    It works as expected... More or Less...
Sign In or Register to comment.