nanos world API Reference Unofficial documentation
Event Shared

Character.Highlight

When Character highlights/looks at a Prop or a Pickable

Syntax

Lua
Character.Subscribe("Highlight", function(self, is_highlighted, object)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Character
is_highlighted boolean Whether the object is being highlighted or not
object Prop|Pickable