S&box Wiki

Sandbox.Entity.IsFirstPersonMode

Syntax

bool IsFirstPersonMode { get; }

Description

If this entity is being viewed through, or is a child of an entity that is being view through - will return true. This can be read are we in first person mode.