Function
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
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>) |