Time Puzzles Reference — Soft8Soft
Description: How to use timing features of Verge3D Puzzles

# Time Puzzles

These puzzles count time and trigger time-based events.

## Contents

- Puzzles Reference
  - after
  - every
  - every frame
  - elapsed delta
  - elapsed total
  - set timer
  - remove timer
  - system date / time

#

## Puzzles Reference

#

### after

Waits for a specified amount of time and then triggers puzzles placed inside the do slot.

#

### every

Waits for a specified amount of time and then triggers puzzles placed inside the do slot. Then repeats.

#

### every frame

Triggers puzzles placed inside the do slot every rendering frame (normally at the rate of 60 frames per second).

#

### elapsed delta

Outputs the amount of time (in seconds) passed from the previous rendering frame. Can be used with the "every frame" puzzle to implement frame-independent animation.

#

### elapsed total

Outputs the amount of time (in seconds) passed from the application start. Can be used with the "every frame" puzzle to implement procedural animation and various visual effects.

#

### set timer

Triggers puzzles placed inside the do slot after the specified delay. Repeats this action the amount times specified in the "repeat" slot each after the same delay. The specified ID can be used to override or cancel the timer.

#

### remove timer

Removes a previosly set timer by using its ID.

#

### system date / time

Returns the current date and time as a string value, or a part of this date as selected in the popup menu. Enable the GMT checkbox in order to get the date/time of the UTC/GMT zone instead of the local time zone.

## Having Troubles with Puzzles?

Seek help on the forums!