Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

pageAction

pageAction(pageActionOptions): PageActionDeclaration

A key the page acts on and the room never hears: a HUD’s window, a card pick, a scoreboard held open. The page runs what useAction or listenToAction registers for it on its keys and its touch button. An action that changes the world sends a command from there.

Parameter Type
pageActionOptions PageActionOptions

PageActionDeclaration