useTag
useTag(
target,tag):boolean
Whether target, an entity or the world, has the tag tag, again each
time that changes: koota’s useTag, for the read-only world too.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
target |
Entity | World | null | undefined |
tag |
TagTrait |
Returns
Section titled “Returns”boolean