Garry's Mod Wiki

Entity:IsDormant

  boolean Entity:IsDormant()

Description

Returns whether the entity is dormant or not. Client/server entities become dormant when they leave the PVS on the server. Client side entities can decide for themselves whether to become dormant. This mainly applies to PVS.

Returns

1 boolean
Whether the entity is dormant or not.