nanos world API Reference Unofficial documentation
Function Client Fast

Actor:SetHighlightEnabled

Sets whether the highlight is enabled on this Actor, and which highlight index to use. This will apply the highlight on every attached entity too

Syntax

Lua
my_actor:SetHighlightEnabled(is_enabled, index = 0)

Parameters

Name Type Default Description
is_enabled boolean
index optional integer 0 Index to use (should be <code>0</code>, <code>1</code> or <code>2</code>)