getTimer(id).start()
Starts the timer.
Example:
[js highlight=”5″ try=”true”]newText(“pleasewait”, “Please wait 1s.”)
.print()
,
newTimer(“wait”, 1000)
.start()
.wait()
,
getText(“pleasewait”)
.remove()
[/js]
The code above adds the text Please wait 1s to the screen, starts a 1000ms timer and wait until it is done before removing the text.