# Setup up a Timer displayed in 00:00:00:00 that begins on input

**URL:** <https://forums.unrealengine.com/t/setup-up-a-timer-displayed-in-00-00-00-00-that-begins-on-input/51748>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [January 7, 2016, 11:13am UTC](https://forums.unrealengine.com/t/setup-up-a-timer-displayed-in-00-00-00-00-that-begins-on-input/51748 "2016-01-07T11:13:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SyncFx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SyncFx](https://forums.unrealengine.com/u/SyncFx)\
**Post date:** [January 7, 2016, 11:13am UTC](https://forums.unrealengine.com/t/setup-up-a-timer-displayed-in-00-00-00-00-that-begins-on-input/51748/1 "2016-01-07T11:13:58Z")

</div>

Hello, I’ve been trying to setup a Timer that begins on input.

I have all that setup, I even have the 00:00:00(not.milliseconds yet) setup.

However with 00:00:00 I am getting game time in seconds, so even though I haven’t pressed the button the time will tick, so when I do press the button it could be on a random number depending how long the played has been in the level.

Any ideas how to display 00:00:00:00 time that will begin on the input of the Actor?

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [January 7, 2016, 2:14pm UTC](https://forums.unrealengine.com/t/setup-up-a-timer-displayed-in-00-00-00-00-that-begins-on-input/51748/2 "2016-01-07T14:14:55Z")

</div>

When you press button , store game time in seconds in some variable (float), then calculate this:

(current game time in seconds) - (game time in seconds when you pressed button)

---

<div class="post-metadata">

**Author:** ![SyncFx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SyncFx](https://forums.unrealengine.com/u/SyncFx)\
**Post date:** [January 7, 2016, 2:58pm UTC](https://forums.unrealengine.com/t/setup-up-a-timer-displayed-in-00-00-00-00-that-begins-on-input/51748/3 "2016-01-07T14:58:54Z")

</div>

Just wanna say I managed to do it by following this video. I replaced the custom event with the event tick checking a boolean to see if I pressed the button, if true the gametime will begin! Only small issue I’m having is that when I stop the btimer, 1 more millisecond gets displayed in the debug text.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/8/3783cdd03f97902b40aa96e17bdedbc99d8eadb3.jpeg "BP Time Attack Racer: Race & Lap Timers | 08 | v4.8 Tutorial Series | Unreal Engine") ](https://www.youtube.com/watch?v=KS6In6yJerM)
