The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

timer.start

description

Starts the timer.

syntax

getTimer(ELEMENT_NAME).start()

example(s)


@newText("pleasewait", "Please wait 1s.")
@    .print()
@,
@newTimer("wait", 1000)
$    .start()
@    .wait()
@,
@getText("pleasewait")
@    .remove()
  • 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.