useDisplayName
useDisplayName(
entity):string
readDisplayName, re-rendering as any of the names it reads changes,
and as the player whose presence the entity is changes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity | null |
Returns
Section titled “Returns”string