Garry's Mod Wiki

Player:GetViewOffsetDucked

  Vector Player:GetViewOffsetDucked()

Description

Returns the ducked view offset of the player, which equals the difference between the player's actual position and their view when ducked.

See also Player:GetViewOffset.

Returns

1 Vector
New crouching view offset, must be local vector to player's Entity:GetPos