123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- .. _func_input_mousey:
- ======
- MouseY
- ======
- MouseY -
- Description
- ===========
- .. code-block:: blitzmax
- MouseY()
- Get mouse y location
- The returned value is relative to the top of the screen.
- Parameters
- ==========
- Return Values
- =============
- Mouse y axis location
- Examples
- ========
- .. code-block:: blitzmax
- ' mousey.bmx
-
- ' the following tracks the position of the mouse
-
- graphics 640,480
- while not keyhit(KEY_ESCAPE)
- cls
- drawrect mousex()-10,mousey()-10,20,20
- flip
- wend
- See Also
- ========
|