Garry's Mod Wiki

CUserCmd:GetMouseX

  number CUserCmd:GetMouseX()

Description

Returns the delta of the angular horizontal mouse movement of the player.

Returns

1 number
xDelta