Sleep
Pauses execution of the script for nms milliseconds.
Syntax
Sleep(nms)
Parameters
Parameter |
Type |
Description |
---|---|---|
nms |
number |
The number of milliseconds to pause |
Return
None.
Examples
Python
import nex
# pause for 2 seconds
nex.Sleep(2000)
NexScript
% pause for 2 seconds
Sleep(2000)