MouseIsLeft
MouseIsLeft

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

bLeft = myMouseKeyboard.MouseIsLeft( )
bLeft = myMouseKeyboard.MouseIsLeft( 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:MouseIsRight
MouseKeyboard:MouseIsUp
MouseKeyboard:MouseIsDown



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