Garry's Mod Wiki

MainEyeAngles

  Angle MainEyeAngles()

Recently Added

This was recently added in version (2025.10.02). It might only be available on the Dev Branch right now.

Description

Returns the main view angles, as they were at the start of the latest main view render.

This is a good alternative to EyeAngles which is affected by other rendering operations, including render.RenderView.

Returns

1 Angle
The angles of the main view.