mouse scroll?
Blitz3D Forums/Blitz3D Beginners Area/mouse scroll?| 
 | ||
| it there a code for the scroller on the mouse? like mouse hit? but something like mousescroll? | 
| 
 | ||
| MouseZ() | 
| 
 | ||
| And straight from the docs: MouseHit (button) Parameters button = button code (1=Left, 2=Right, 3-Middle) Description This command returns the number of times a specified mouse button has been hit since the last time you called the MouseHit() command. Also see KeyHit and JoyHit. MouseZSpeed() Parameters None. Description MouseZSpeed returns -1 if the mousewheel on a suitable mouse is being rolled backwards (towards user), 0 if it is not being moved, and 1 if it is being rolled forwards. |