Timers, delays and the other nodes that remember
9 min readASA DevKit as of November 2026 (UE 5.8.1); these are engine nodes, the same in ASE
Some Blueprint nodes keep a little state between calls: a timer, a Delay, Do Once, a Gate, a Timeline. They're where "it worked the first time" bugs come from, because the second call doesn't do what you'd guess. Each one acts in its own way when you call it again.
These are Unreal's own nodes, explained in general Unreal tutorials. Most of those videos date from UE4 (2015 to 2017). The behavior hasn't changed as far as I know, but I haven't re-tested every case in the 5.8 kit.
- You'll learn: how timers, Delay, Retriggerable Delay, Do Once, Do N, Gate, Flip Flop, MultiGate and Timelines behave when called again; random numbers and seeds; real-world time; trace, overlap and component traps
- Level: beginner to intermediate
- Read it when: something runs once and then stops, runs too often, or never finishes
One rule for all of them
Their state lives in memory only. A Do Once, a Gate, a timer or a Delay keeps its state inside one Blueprint instance. It isn't saved with the world and it isn't replicated. So a Do Once on a structure opens again after a server restart, and a client's copy counts separately from the server's. If it must survive a restart, keep it in a SaveGame variable (saving your mod's data).
Timers
- Keep the handle. Set Timer returns a timer handle. Store it in a variable: without it you can't clear, pause or check the timer later. Clear and Invalidate Timer by Handle stops it.
- A time of 0 clears the timer. It doesn't fire it once.
- By Function Name fails silently. A typo, or renaming the function or event later, gives no error. The timer just never runs. Prefer Set Timer by Event, which breaks visibly when the event goes away. (By Function Name only calls functions with no inputs: performance.)
- Pause isn't clear. A paused timer keeps the time it already counted, so it fires sooner after unpausing. Clearing it and setting it again starts the full interval over.
- "Exists" isn't "running". Does Timer Exist stays true while the timer is paused. Is Timer Active is false while paused. Ask Is Timer Active when you mean "is it running".
- Timers fire on the nearest frame, so they're approximate. They're still far cheaper than Tick for "every few seconds".
- Stagger repeating timers. UE5's Set Timer nodes have Initial Start Delay and a variance pin. A small random start on each structure's or buff's looping timer stops hundreds of them firing on the same frame. Check the pins on your kit's node.
Delay and Retriggerable Delay
- A Delay that's still counting ignores new calls. They're dropped, not queued. A looping 3-second timer that calls an event with a 10-second Delay gets past the Delay only every fourth call.
- When it does finish, it runs with the newest values (lessons §2 has that half).
- Retriggerable Delay restarts its countdown on every call instead. It never finishes while calls keep coming, so it's the node for "wait until things go quiet".
- Functions can't hold a Delay. Pasting graph code with a Delay into a function silently drops the node. The only sign is a note that conflicting nodes were substituted during the paste.
Do Once, Do N, Gate, Flip Flop, MultiGate
| Node | What it does | The trap |
|---|---|---|
| Do Once | Passes the first call, blocks the rest until Reset | Start Closed makes it begin blocked |
| Do N | Passes N calls, then blocks | Reset sets the count to zero but doesn't fire Exit |
| Gate | Passes calls only while open (Open, Close, Toggle) | Calls made while it's closed aren't remembered |
| Flip Flop | Fires A, then B, then A... | Is A tells you which one just fired |
| MultiGate | One output per call, in order | Stops at the end unless Loop is on |
Sequence fires its outputs in order, on the same frame. A Delay in output 0 doesn't hold back output 1.
Timelines
- Only actor Blueprints can have one. A Timeline runs on its actor's tick, so widgets and plain Objects can't hold one. An ARK item (PrimalItem) isn't an actor; a buff, a structure and a creature are.
- Play continues from where it is. Calling Play after it has reached the end does nothing visible. Use Play from Start to replay. Play from Start in the middle restarts it, so a spammed input never reaches Finished.
- Stop is a pause, and Finished doesn't fire on Stop. Finished fires when playback reaches either end, forwards or in Reverse.
- Set New Time, then Play. Play from Start after Set New Time throws the new time away.
- A Timeline is a component. Its length and Loop settings take effect after you compile.
Traces and overlaps
- Multi traces stop at the first block. They return everything overlapped up to and including the first blocking hit. Their Return Value is true only when something blocked, so with a channel everything only overlaps you get hits and false. Check the hit array's length instead.
- Trace for Objects takes object types (WorldStatic, Pawn...), not a channel. Tick Ignore Self when the trace starts inside your own collision.
- Component Overlap Actors finds nothing if the component you test with has No Collision, or if the target's object type isn't in the list.
- Get All Actors With Interface (like Get All Actors Of Class) sees only what exists when it runs. Anything spawned later is missed.
- Predict Projectile Path doesn't ignore you. Add Self to Actors to Ignore.
- A complex trace reads surface type Default when the surface comes from a Phys Material Override. Trace simple to read it.
- Get Random Point in Navigable Radius can return unreachable points. Get Random Reachable Point in Radius doesn't. Check the returned bool either way.
- Get Actor Bounds counts every component unless Only Colliding Components is ticked.
- Set Collision Object Type changes only the channel. A box set to Pawn doesn't act like a pawn.
Random numbers
- Random Integer never returns Max. It gives 0 to Max − 1, so Max 1 always gives 0. Random Integer in Range includes both ends.
- A pure random node rolls again for every wire. If you print it and also use it, those are two different numbers. Store the roll in a local variable first.
- Random Rotator leaves Roll at 0 unless you tick Roll.
- Seed a Random Stream at Begin Play with Set Random Stream Seed. In the UE4 videos a seed typed as the variable's default was ignored and the stream started at 0.
- Same seed, same results only if you ask the same questions in the same order. Changing a Max changes them.
- Pass the stream by reference. A copy advances; yours doesn't. Set Random Stream Seed also rewinds the stream.
- A stream lives in memory, so it starts again from its seed after a restart.
Real-world time
- Now is the host's local time. Use UtcNow for daily resets, so every server agrees.
- A time span's Get Seconds is one part (0 to 59). Use Get Total Seconds for the whole span.
- A bad date gives no error. A month of 0 or a minute of 60 gives year 1 or drops the part.
- Game Time Since Creation stops while paused and follows time dilation. For anything that must survive a restart or a transfer, use real-world UTC (saving your mod's data).
Small checks
- In Range includes both ends by default.
- Make Map with a repeated key keeps the last value, silently. Make Set drops repeats.
- Data table row names ignore case, but a trailing space fails.
Events and binding
- Bind before the first broadcast. A widget or actor that binds to a dispatcher in Begin Play can run before the broadcaster is ready and miss its first broadcast. Have the broadcaster fire an "initialised" event once it's set up, or read the current value right after binding.
- An interface message with no Target does nothing, silently. Does Implement Interface is the cheap check after a trace or overlap.
- Destroy Actor isn't immediate. The actor is marked and removed later, so code right after Destroy can still reach it. Is Valid returns false for both an empty reference and one that's being destroyed.
- Don't change an array's length inside For Each. Edit elements in place, or build a second array.
- Actor Has Tag reads the actor's tags, not its components'. Tags are Names, so the check ignores case. For component tags, use Get Components by Tag. "None" isn't a tag: searching for it finds nothing.
- Get Component(s) by Class also matches child classes. The single version returns None when nothing matches.
- Get Parent Actor returns None unless a Child Actor component spawned the actor.
- Actor Components get no input events. Bind to the owner's dispatchers instead.
- Begin Play can run more than once. On a World Partition map, a placed actor can stream out and back in, and if it wasn't cleaned up in between, it runs End Play and Begin Play again. Make Begin Play safe to repeat: check before you spawn, add or bind.
Anim notifies
- Queued notifies can fire a little late. Set a notify's tick type to Branching Point when it must fire on the exact frame.
- During a blend, a notify fires only above its trigger weight threshold.
- Notifies that must run on a dedicated server need Trigger on Dedicated Server (creature AI).
Common mistakes
My structure's "only once" logic runs again after a restart
Do Once and Gate keep their state in memory. Use a SaveGame variable (One rule for all of them).
My timer never fires
Check the name if you used Set Timer by Function Name, and that the time isn't 0. Then check you didn't clear it through a handle you overwrote.
My Delay only works some of the time
It's dropping calls that arrive while it counts. Use a timer, or Retriggerable Delay if you want the last call to win. To watch it happen, open Blueprint Debugger during PIE and read its Execution Trace: it lists each node that ran, with a time.
My Timeline won't replay
It's at the end. Use Play from Start, or Reverse.
Go deeper
- Lessons §2: Blueprint traps: For Each over pure getters, latent nodes and more.
- Performance on busy servers: timers instead of Tick, and managers instead of one timer per thing.
- Saving your mod's data: state that survives a restart.
Sources
- Unreal Fest 2026 talks (UE 5.8, the kit's version; auto captions): Begin Play running again on World Partition maps (The Player Was Here, 2026-07-23). General Unreal: Execution Trace (2024, auto captions).
- More Wadstein videos (UE4, 2017 to 2019, auto captions): Random Integer, pure random nodes, Random Rotator, Random Stream seeds and rewinding (2018-10-12); Now and UtcNow, time spans and bad dates (2018-11-30); Game Time Since Creation, In Range, Make Map and Make Set, data table rows; component tags, components by class, Get Parent Actor, component input; Predict Projectile Path, surface types, navigable points, actor bounds, collision object type; anim notifies.
- General Unreal videos (not ARK-specific; all auto captions). Mathew Wadstein's "WTF Is?" series (UE4,
2015 to 2017):
- Timers: Set Timer (2016-06-07), by function name, pause (2016-06-09) and exists vs active (2016-06-12).
- Flow control: Delay (2015-11-09), Delay in functions, Do Once, Do N, Gate, Flip Flop and MultiGate (all 2015-10-27).
- Timelines: Play and Stop (2016-12-13) and actors only (2016-12-12).
- Traces and overlaps: multi traces (2016-05-28), trace for objects (2016-05-27), Component Overlap Actors (2017-04-04) and actors with interface (2016-04-27).
- Events and arrays: interface messages (2015-09-28), Destroy Actor (2016-08-06), arrays in For Each (2015-10-28) and actor tags (2016-08-14).
- UE5: Tyler Serino on timers, the rename trap and start delay (2023-08-29); Taken Grace on binding order at Begin Play (2025-12-06).
- My own reading: the "state lives in memory" rule follows from how these nodes work (local variables in one instance, not SaveGame and not replicated). I haven't run a restart test for each node.
Where this page's information comes from
Applies to: ASA DevKit as of November 2026 (UE 5.8.1); these are engine nodes, the same in ASE
general Unreal tutorial videos, most from UE4 (see Sources); not yet re-tested in the kit