client
removeLocalEntity

removeLocalEntity

Removes all existing interaction associated with a given entity handle for a non networked entity. this execludes global interactions.

Parameters

  • entity (number): The entity handle of the local entity whose interaction you wish to remove.

Example

-- To remove the interaction for this local entity, use its handle:
interact.removeLocalEntity(entityHandle)