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

DisplayNameTrait

const DisplayNameTrait: Trait<{ name: string; }>

The name a player reads for an entity, where the game gives one: a target frame’s title, a plate over its head. readDisplayName reads it first, before the name a player joined as, an NPC’s own and the model’s, as Roblox’s DisplayName stands over a character’s name.