Some trouble with my timer

I’m making a timer for my game and i’m having some trouble. I have a button pressed in a widget calling an event in the player character BP. I think the timer works fine its just that based on the click it only pings 1 time. i would like it to count down all the way to zero.

its hooked up to an event tick, that’s why i have the delay. i use the total time integer in my hud to display the countdown.
I followed your method, waaaay better. Thank you so much!
I would like the timer to reset to its initial value after the countdown so i can use it multiple times could you help me with this?

  • you do not need to cast here
  • if this is a timer, where is the timer?
  • if this is a timer, why is there a Delay?

A timer would look like this:

A click starts the timer, it will subtract 1 every second from Total Time. If you wish to stop / pause the timer, promote its Return Value to a variable and invalidate or clear it. Alternatively, call the timer again with Time {0} to clear it.

I would like the timer to reset to its
initial value after the countdown so i
can use it multiple times could you
help me with this?

Sure. That’s what I mentioned above:

Or even experiment with something like this, looks better and is reusable:

Call StartTimer (via a button click or anything else), gives a chance to set new TimeRemaining. Calling StartTimer with 0 stops the timer. Calling Star timer with > 0, restarts it.