nanos world API Reference Unofficial documentation
Event Server

Prop.Interact

When a Character interacts with this Prop (i.e. try to Grab it)

Syntax

Lua
Prop.Subscribe("Interact", function(self, character)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Prop the object that undergoes an interaction
character Character the character who interacts with the object

Returns

  • boolean Return false to prevent the interaction (i.e. prevent being grabbed)