# Set 'elapsed time' on timers?

**URL:** <https://forums.unrealengine.com/t/set-elapsed-time-on-timers/337479>\
**Category:** Blueprint\
**Tags:** timers, unreal-engine, Blueprint, CPP, question\
**Created:** [November 4, 2015, 10:50pm UTC](https://forums.unrealengine.com/t/set-elapsed-time-on-timers/337479 "2015-11-04T22:50:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dadtaru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dadtaru](https://forums.unrealengine.com/u/dadtaru)\
**Post date:** [November 4, 2015, 10:50pm UTC](https://forums.unrealengine.com/t/set-elapsed-time-on-timers/337479/1 "2015-11-04T22:50:11Z")

</div>

hi,

i am trying to save/load the current state of my timers. tried promoting and saving the timer handle but that didn’t work. my next approach was to try saving the elapsed time (float) and using that to create a new timer on load. but i can’t find a way to set elapsed time.

so my next idea is to create my own timer function from scratch using delta time n such.

but before i go that route, does anyone know a way to solve this while still using the built in timer functions?

i don’t mind a c++ answer.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_359f4d3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_359f4d3c](https://forums.unrealengine.com/u/anonymous_user_359f4d3c)\
**Post date:** [November 5, 2015, 8:57am UTC](https://forums.unrealengine.com/t/set-elapsed-time-on-timers/337479/2 "2015-11-05T08:57:41Z")

</div>

Can’t you restart the timer with the _remaining time_?

---

<div class="post-metadata">

**Author:** ![dadtaru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dadtaru](https://forums.unrealengine.com/u/dadtaru)\
**Post date:** [November 5, 2015, 4:25pm UTC](https://forums.unrealengine.com/t/set-elapsed-time-on-timers/337479/3 "2015-11-05T16:25:45Z")

</div>

thank you for the reminder. originally dismissed this because the timers are on repeat, being used for progress bars. so a shorter timer would make the bars move abnormally fast.

BUT since the progress float doesn’t directly depend on the timer, i think i can set up a run-once timer for loading purposes.

edit: success 🙂 tyvm
