Skip to content

Player:GetColor

Read color for this player.

player:GetColor()

Inputs: None beyond the Player receiver.

Output: Color or nil. Player color; nil if its layout/value is unavailable or outside the supported palette.

Errors and unavailable states: A wrong receiver can raise a Lua argument error. An unavailable live read returns nil as described in Output.

See Lua values and game objects for lifetime and enum guidance.