MouseIsUp
MouseIsUp

Returns TRUE if the mouse is within a given distance of the top of the game window.

bUp = myMouseKeyboard.MouseIsUp( )
bUp = myMouseKeyboard.MouseIsUp( Dist )

Return value
TRUE if the mouse is beyond the check point. Otherwise FALSE.

Parameters
  • dist
    Distance in pixels from the screen. Default is 0.
Comments

Negative values of dist can also be given to check if the mouse is beyond the window.

See also
MouseKeyboard:MouseIsLeft
MouseKeyboard:MouseIsRight
MouseKeyboard:MouseIsDown



JAM © 2005 no one in particular
Project started by David Evans in 2005