Create a Start Button for Timer

I wanted to know how to create a start button that will activate my timer. As of right now my timer begins as soon as you get to the scene.

Answers

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956
    edited November 2015

    There are multiple ways you could do this. You could make a boolean attribute called "startTimer," When the button is pressed change attribute "startTimer" to true.

    When "startTimer" is true start counting down.

    Alternative,

    Set your timer to 0.

    When you touch the button change the timer amount to whatever number you want greater than 0.

    Make a rule that says when timer amount is greater than 0 start counting down.

    There are many (endless) possible ways to achieve your goal.

Sign In or Register to comment.