Skip to documentation
SplitScript
  • Language
  • Standard library
  • Guides
  • Migration

SplitScript reference / Language / reset

reset

lifecycle block

reset { ... }

Decides whether to reset the timer.

Falling through returns false.

Examples

Use reset

reset {
    return current.newGame && !old.newGame
}
Generated from the SplitScript compiler's documentation catalogs.