# Connecting an interface into set timer by event

**URL:** <https://forums.unrealengine.com/t/connecting-an-interface-into-set-timer-by-event/2471603>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [April 23, 2025, 12:35pm UTC](https://forums.unrealengine.com/t/connecting-an-interface-into-set-timer-by-event/2471603 "2025-04-23T12:35:42Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [May 10, 2025, 5:24pm UTC](https://forums.unrealengine.com/t/connecting-an-interface-into-set-timer-by-event/2471603/31 "2025-05-10T17:24:19Z")

</div>

Remember when Tick [popped up in my mind](https://forums.unrealengine.com/t/connecting-an-interface-into-set-timer-by-event/2471603/21) ?

Might be more accurate to transition values over time than timer:

> [@Are timers not Independent of fps? (screenshots inside)](https://forums.unrealengine.com/t/are-timers-not-independent-of-fps-screenshots-inside/2483481/3):
>
> This is at the end a sampling theorem problem – your main loop doesn’t run at a perfect 60 Hz, and thus any timers will be quantized to when the main loop/tick happens to actually run. The most accurate way to deal with this, is to get the current game time inside tick, and accumulate that to a variable. Then enter a loop that checks whether the variable is greater than 1/60, if so, subtract 1/60 from the variable, run your “one tick” function, and then check the loop again. If a particular fr…

---

_[View the full topic](https://forums.unrealengine.com/t/connecting-an-interface-into-set-timer-by-event/2471603)._
