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

NameplateProps

What a nameplate draws from: the engine’s Nameplate and a game’s own plate receive the same props.

Property Type Description
background boolean Whether the plate draws a dark pill behind the name, from the setting’s background.
color string The CSS colour her name draws in: her team’s where she has one and the setting’s teamColors is TeamColorMode.Team, else the setting’s color.
entity Entity What stands for the other player in the world, her presence: her character in most games, her dragon in a dragon game.
name string The name she joined the room as.
player Entity The other player’s own entity, which PlayerTrait names.
size number CSS pixels the name’s letters stand at, from the setting’s size.
speaking boolean Whether she is speaking in the room’s voice now, as useSpeaking reads it.
teammate boolean Whether she is on the page’s player’s team, by the team question. False where either has no team, as with no teams().