Garry's Mod Wiki

Player:GetCurrentViewOffset

  Vector Player:GetCurrentViewOffset()

Description

Gets the actual view offset which equals the difference between the players actual position and their view when standing.

Do not confuse with Player:GetViewOffset and Player:GetViewOffsetDucked

Returns

1 Vector
The actual view offset.