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

SplitScript reference / Language / isLoading

isLoading

lifecycle block

isLoading { ... }

Reports loading state when known.

Falling through returns None so the runtime leaves the current loading state unchanged.

Examples

Use isLoading

isLoading {
    return current.scene == "Loading"
}
Generated from the SplitScript compiler's documentation catalogs.