API Reference › Ui › Ui.tick
method

Ui.tick

Ui.tick(key: k)

Moves focus and activates controls from one key code. The frame loop calls it every frame with the frame key, so a game normally never calls it; it remains for programs that drive their own loop from entry.

Example

# doc-check: skip — illustrative
entry {
  Ui.tick(key: Input.key())
}
← All symbols