FANDOM


This will return the amount the mouse scroll wheel has moved, in units of 120, since the last frame. If it was scrolled up, a positive value is return, if down a negative one.

SyntaxEdit

int dbMouseMoveZ ( void ) 

ExampleEdit

The following extract move the camera up by the amount the scroll wheel has moved

dbMoveCameraUp(dbMouseMoveZ()/120);

See AlsoEdit