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

useInterest

useInterest(): InterestStatus

Whether this page’s room culls by interest, as readInterest reads it, again each time it changes: a loading overlay shows while pending is above 0 after a join or a teleport, until the ground around the character has arrived.

InterestStatus

const interest = useInterest();
return interest.culling && interest.pending > 0 ? <Text>Loading the area</Text> : null;