decorative banner

Adding timers


    Each card can have one timer. The timer is initialized when a user enters the card and stops when the user exits the card. You can use a timer to trigger a task after a specified amount of time has passed.

To add a timer element:

  1. Drag the Timer icon from the WML Elements set in the Objects palette into the document window. Release the mouse button when the pointer is over the colored area of a card.
  2. If the card contains other elements, move the timer element to the top position in the card.
  3. In the Inspector, enter the timer value (in tenths of seconds) in the value text box.
  4. Set the optional name attribute in the Inspector to specify a variable to use when initializing the timer.