Garry's Mod Wiki

Entity:IsConstraint

  boolean Entity:IsConstraint()

Description

Returns if entity is constraint or not

Returns

1 boolean
Is the entity a constraint or not

Example

Returns true if player 1 is aiming at constraint.

Output: false