======Wait======
----
Waits for the specified number of seconds before proceeding to next statement in the [[script]] being executed.
====Signature:====
wait(duration)
^Argument^Description^Type^Required^
|duration|Duration of time to wait (in seconds).|[[Number]]|Yes|
====Example:====
wait(2);
//Results:// The [[script]] will wait for 2 seconds before proceeding to the next event within that [[script]].
Use the **Wait** function for dramatic pauses between events of a cutscene or to allow time for a particular [[animation]] to complete.
----
====Editor Node:====
{{:wiki:wait_node.png?nolink|}}
====Visual Demo:====
{{:wiki:wait_demo.gif?nolink|}}
~~NOTOC~~