Garry's Mod Wiki

Entity:IsSolid

  boolean Entity:IsSolid()

Description

Returns if the entity is solid or not. Very useful for determining if the entity is a trigger or not.

Returns

1 boolean
Whether the entity is solid or not.