Garry's Mod Wiki

NPC:GetBlockingEntity

  Entity NPC:GetBlockingEntity()

Description

Returns the entity blocking the NPC along its path.

Returns

1 Entity
Blocking entity