ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getElementHighlight

Function

getElementHighlight

ClientElementsTrilogy Hub only

Returns the glow set with setElementHighlight.

Syntax

int getElementHighlight(element theElement)

Arguments

theElementelement
The element.

Returns

r, g, b, strength, or false if the element has no glow.

Example

local r, g, b = getElementHighlight(localPlayer)
if r then outputChatBox(("poswiata %d %d %d"):format(r, g, b)) end

See also