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

useHas

useHas(target, trait): boolean

Whether target, an entity or the world, has trait, again each time that changes: koota’s useHas, for the read-only world too.

Parameter Type
target Entity | World | null | undefined
trait Trait | RelationPair

boolean