Delay node in Blueprints: wait before the next step
The Delay node pauses the execution pulse: it holds back every node connected after it for the number of seconds you set. With Event Begin Play, a Delay of 5 seconds and a Print String, the text Hello World appears 5 seconds after the scene starts. It is the simplest time control node.
From the course
Taken from the hands-on project of the course; the lessons show every step on video.
How do I use Delay?
- Open the Level Blueprint and connect Event Begin Play to a Print String that prints Hello World. When the scene starts, the text appears at once.
- Add a Delay node between them and set the duration to 5 seconds.
- Compile, save and test: the text takes 5 seconds to appear.
What exactly does it do?
The Delay pauses the execution flow coming from the Event Begin Play. It counts to five and only after those five seconds does the flow continue to the next nodes.
Where does it differ from other time nodes?
Delay is a plain wait. For animations that change a value smoothly over time the course has other tools, such as the Timeline. Remember that functions do not accept Delay, only events do, because it is a time-based action.
A tip
Delay is also useful to stagger actions in a flow: place a Delay between two steps and the second runs later. In the Do N guide it spaces a repeating print to one per second.
Free PDFs that go with this page
One-page guides made from the lessons, sent by e-mail.
- Blueprint Cheat Sheet — A free one-page PDF for Unreal Engine 4/5, made from the lessons of the course. Keep it next to your editor while you learn.
- Flow control nodes — Branch, Switch, loops and gates on one page: what each node does and which pins to know.
- Free PDFs
Frequently asked questions
What does the Delay node do?
It waits a set number of seconds before the execution continues.
Can I use Delay inside a function?
No. Functions do not accept time-based actions like Delay.
How long does the lesson's example wait?
5 seconds.