MouseY
Ypos = MouseY()
 
Parameters: NONE
Returns:

    Ypos = The current Y position of the mouse pointer
 

      The MouseY() function will return the current Y position of the mouse pointer.



FACTS:


      * none




Mini Tutorial:


      This example reads the mouse position and draws a circle in place of the mouse pointer.


  
  
; turn the mouse pointer off
  Mouse off
  
  
  Do
     Cls RGB(0,0,0)
     
   ; draw circle as the mouse pointer
     Circle MouseX(),MouseY(),5,1
     
   ; Display the Screen and wait for the user to press a key
     Sync
  Loop
  
  




 
Related Info: MouseButton | MouseMoveX | MouseMoveY | MouseMoveZ | MouseX | MouseZ :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com