nanos world API Reference Unofficial documentation
Event Server

Character.Interact

Triggered when a Character interacts with a Prop or Pickable

Syntax

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

Arguments

Name Type Default Description
self Character
object Prop|Pickable

Returns

  • boolean Return <code>false</code> to prevent it