Garry's Mod Wiki

Entity:IsDormant

  boolean Entity:IsDormant()

Description

Returns whether the entity is dormant or not.

Networked entities become dormant clientside when they leave the PVS (Potential Visibility Set). This typically means they are no longer visible by the local player, and will not receive updates from the server.

Server side, entities can only be dormant during level transitions by default.

Returns

1 boolean
Whether the entity is dormant or not.