ENTITY:Use
You might be looking for the "Entity:Use" method, which has the same name as this hook.
Description
Called when an entity "uses" this entity, for example a player pressing their +use
key (default e) on this entity.
To change how often the hook is called, see Entity:SetUseType.
This hook only works for
nextbot
, ai
and anim
scripted entity types.