NB! It seems this console command is not compatible with CS2.
Command Profile

CL_BOBAMT_LAT

CS:GO

This console command adjusts how much your viewmodel & gun barrel moves side to side when you're running.

Syntax
cl_bobamt_lat [Value]

Description

This console command adjusts how much your viewmodel & gun barrel moves side to side when you're running.

How To Use cl_bobamt_lat

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter cl_bobamt_lat [Value], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

cl_bobamt_lat [Value]
Value The value attached to how much your gun barrel moves side to side as you run. The higher the command is, the more your gun barrel moves side to side. The highest this command goes is 2 and the lowest is 0.1. Default value is 0.4