Garry's Mod Wiki
number WEAPON:AdjustMouseSensitivity( number defaultSensitivity, number localFOV, number defaultFOV )
Description
Allows you to adjust the weapon's mouse sensitivity. This hook only works if you haven't overridden GM:AdjustMouseSensitivity.
Arguments
1 number defaultSensitivity
The old sensitivity
In general this will be 0, which is equivalent to a sensitivity of 1.
This was recently added in version (2026.03.12). It might only be available on the Dev Branch right now.
2 number localFOV
The player's current FOV.
This was recently added in version (2026.03.12). It might only be available on the Dev Branch right now.
3 number defaultFOV
The player's default FOV.
This was recently added in version (2026.03.12). It might only be available on the Dev Branch right now.
Returns
1 number
A multiplier of the player's normal sensitivity (0.5 would be half as sensitive, 2 would be twice as sensitive).
Example
Properly scales the player's sensitivity with their FOV while also halving it.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...