nanos world API Reference Unofficial documentation
Static function Client Fast

Client.SetHighlightColor

Changes the Highlight Color for highlighted actors at a specific Index. Multiply it by 5 (or more) for having a glowing effect.<br/><br/><code>HighlightMode.Always</code> will always be visible, even behind walls<br/><code>HighlightMode.OnlyHidden</code> will only be visible if behind a wall<br/><code>HighlightMode.OnlyVisible</code> will only be visible if not behind a wall<br/><br/>Note: You can only have 3 different indexes (0, 1 or 2).

Syntax

Lua
Client.SetHighlightColor(highlight_color, index, mode = HighlightMode.Always)

Parameters

Name Type Default Description
highlight_color Color
index integer
mode optional HighlightMode HighlightMode.Always