12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- .. _func_input_mousez:
- ======
- MouseZ
- ======
- MouseZ -
- Description
- ===========
- .. code-block:: blitzmax
- MouseZ()
- Get mouse wheel
- The mouse wheel value increments when the mouse wheel is rolled 'away' from the user, and
- decrements when the mouse wheel is rolled 'towards' the user.
- Parameters
- ==========
- Return Values
- =============
- Mouse wheel value
- Examples
- ========
- .. code-block:: blitzmax
- ' mousez.bmx
-
- ' prints mousez() the mousewheel position
-
- Graphics 640,480
- While Not keyhit(KEY_ESCAPE)
- cls
- drawtext "MouseZ()="+MouseZ(),0,0
- flip
- Wend
- See Also
- ========
|