Skip to content

IsWorldItemInteractable

Whether a loose item of the level is switched on.

false while SetWorldItemInteractable has the slot switched off, true for every other key.

IsWorldItemInteractable(key)
Parameter Type
key string the item slot’s key

boolean

if not IsWorldItemInteractable(key) then SendClientMessage(pid, COLOR_SERVER, "That is only on show.") end

SetWorldItemInteractable · GetWorldItemsNear · the Doors and containers group of the index