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.
Returns
Section titled “Returns”boolean