# How to keep a timer ticking between levels?

**URL:** <https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524>\
**Category:** UI\
**Tags:** timer, unreal-engine, Widget, UE4, question, Blueprint, set-timer\
**Created:** [August 28, 2019, 1:53pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524 "2019-08-28T13:53:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MITSOS713](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MITSOS713](https://forums.unrealengine.com/u/MITSOS713)\
**Post date:** [August 28, 2019, 1:53pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/1 "2019-08-28T13:53:16Z")

</div>

I have been working on a system that counts time. I want this time to be hidden and not be shown by a print command but with a widget. The problem is that it doesn’t continue counting when I change level.

What I want is to someone show me how to keep the timer going until it stops and it shows up on the desired level that i have set.

Timer Widget:

 ![286068-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/8/b78a2453a28539bf12640f447cd1e7759b4ba19b.png)

Timer Creation:

 ![286069-screenshot-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/3/3532150bbfdc671a1569c832253a2438541240de.png)

Timer Show Up:

 ![286070-screenshot-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/d/97d2990a8d2f99134b8160378084cf51139f8601.png)

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [August 28, 2019, 2:03pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/2 "2019-08-28T14:03:16Z")

</div>

This is hard to answer, the best solution will be to make a save system, and save the amount from the timer in the level and load the amount to the new level you load.  
you van use a widget to show the number by casting the value from the blueprint to a widget and bind a text to the value

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_942e8e52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_942e8e52](https://forums.unrealengine.com/u/anonymous_user_942e8e52)\
**Post date:** [August 28, 2019, 2:09pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/3 "2019-08-28T14:09:14Z")

</div>

No need to make a save system, the easiest way to keep info while changing levels will be putting data in the GameInstance.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/1/7b11150d2dfb9ab9d4e2f4dfb2cd7cedb4e480c9.jpeg "HTF do I? Use the GameInstance Object in Unreal Engine 4") ](https://www.youtube.com/watch?v=5w594D3qtLs)

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [August 28, 2019, 2:11pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/4 "2019-08-28T14:11:54Z")

</div>

I did not no that

---

<div class="post-metadata">

**Author:** ![MITSOS713](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MITSOS713](https://forums.unrealengine.com/u/MITSOS713)\
**Post date:** [August 28, 2019, 2:14pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/5 "2019-08-28T14:14:17Z")

</div>

I do not know how to implement the game instance and the videos i have seen haven’t helped me as they don’t focus on the thing i want to do that is why i want someone to show me.

What I mean is for someone to take the format i have in the pictures and add on the game instance or something like that.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_942e8e52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_942e8e52](https://forums.unrealengine.com/u/anonymous_user_942e8e52)\
**Post date:** [August 28, 2019, 2:20pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/6 "2019-08-28T14:20:42Z")

</div>

I’m imagining something where the timer is always updating a value in the game instance. Then after changing levels there is initialization logic where the widget/timer pulls the info from the gameinstance.

---

<div class="post-metadata">

**Author:** ![MITSOS713](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MITSOS713](https://forums.unrealengine.com/u/MITSOS713)\
**Post date:** [August 28, 2019, 2:22pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/7 "2019-08-28T14:22:26Z")

</div>

How do I do that?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_942e8e52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_942e8e52](https://forums.unrealengine.com/u/anonymous_user_942e8e52)\
**Post date:** [August 28, 2019, 2:25pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/8 "2019-08-28T14:25:06Z")

</div>

With more learnings!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/3/3e345c461c14ef94ea20759c241ccc8c404e7030.jpeg "Blueprint Game Framework Basics | Live Training | Unreal Engine") ](https://www.youtube.com/watch?v=0LG4hiisflg)

---

<div class="post-metadata">

**Author:** ![MITSOS713](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MITSOS713](https://forums.unrealengine.com/u/MITSOS713)\
**Post date:** [August 28, 2019, 3:13pm UTC](https://forums.unrealengine.com/t/how-to-keep-a-timer-ticking-between-levels/454524/9 "2019-08-28T15:13:58Z")

</div>

Thanks, that video helped a lot.
