Garry's Mod Wiki

EyeAngles

  Angle EyeAngles()

Description

Returns the angles of the current render context as calculated by GM:CalcView.

This function is only reliable inside rendering hooks.

Issue Tracker: 2516

Returns

1 Angle
The angle of the currently rendered scene.

Example

Identical to EyeVector.

print( EyeAngles():Forward() )