# Mouse Wheel

Grammar — Player player moves mouse wheel.
FlagsNative | Event

Only register for this event when you absolutely need it, as it will generate network traffic from all players for every mouse wheel move they make. This event fires when a player moves the mouse wheel. Use “Mouse Wheel Spin” to get the amount the mouse wheel moved.

# Arguments

  • int — Player

Returns — void

native void TriggerAddEventMouseWheel(
	trigger t,
	int player,
);

Category: UI / Input

# Examples

# mods/frontiers.sc2mod

Lib6CB3363F.galaxy

// L1517
TriggerAddEventMouseWheel(lib6CB3363F_gt_MouseWheelWeaponChange, c_playerAny)