Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Client Veloce

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

Non ancora tradotto

Sintassi

Lua
my_actor:SetHighlightEnabled(is_enabled, index = 0)

Parametri

Nome Tipo Predefinito Descrizione
is_enabled boolean
index facoltativo integer 0 Indice da usare: <code>0</code>, <code>1</code> oppure <code>2</code>