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.
Returns
Section titled “Returns”Example
Section titled “Example”const interest = useInterest(); return interest.culling && interest.pending > 0 ? <Text>Loading the area</Text> : null;