Entity.EyeAngles
From GMod Wiki
Function | |
Syntax | Entity:EyeAngles( ) |
Description: | |
In the case of a ragdoll, returns the directions the eyes are pointing. In the case of a player, returns the angle that the player is looking at as an angle. | |
Returns: | Angle |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.EyeAngles]Entity.EyeAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | prints your eye angles |
---|---|
Used on | |
Code | print(LocalPlayer():EyeAngles()) |
Output | EyeAngles |