viewmodel_offset_y Command


viewmodel_offset_y [Y Offset]

This command sets the Y offset of your view model - i.e. how close or far from your character is. Your view model is your hand (and the gun in it) that displays in first person mode. The maximum value is 2 and the minimum value is -2.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

Y OffsetSet this to a number between 2 and -2. 2 would be closest to the top of the screen. -2 would be closest to the bottom of the screen.

Extra Info

Sv_cheats Required? No
Client or Server Command? Client
Default Value 1

viewmodel_offset_y Examples


Find below working examples of this command (copy and paste into console).


viewmodel_offset_y 2

This command would put your viewmodel as far in front of you as possible.


viewmodel_offset_y -2

This command would put your viewmodel as close as possible to you.