Index

GetMouseScrollDelta

GetMouseScrollDelta(true) ->val

Description

Returns a positive or negative number when the mouse scroll wheel is rotated. The magnitude of the number is proportional to the amount the wheel is scrolled. The argument to GetMouseScrollDelta indicates whether to ignore the scroll events when over the UI.

Examples

GetMouseScrollDelta(true) ->zpos
SetUnitPosition(<-uid V3(10 1 <-zpos))

Index