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

useWorld

useWorld(): World

The world of the Game or the room around the caller, read-only: a view and a logic component read it, and neither writes through it. A view sends a command for what the player does; a logic component writes as it mounts through useAuthorityEffect. koota’s useWorld, typed so a write does not compile.

World