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

useHeadless

useHeadless(): boolean

Whether the engine runs headless: in a room, spawnite simulate or a test’s mount, which render a scene’s logic and skip its views. For logic that differs there, such as a scene that deals itself a round where nobody presses Play; a view never mounts headless.

boolean