ObjectUnderMouse
ObjectUnderMouse

Returns the object currently under the mouse

object = myMouseKeyboard.ObjectUnderMouse( )
object = myMouseKeyboard.ObjectUnderMouse( bFineDetection )

Return value
The topmost object under the mouse

Parameters
  • bFineDetection
    TRUE to use fine collision detection, FALSE (Default) to use bounding boxes (faster).
Comments

This function checks objects from top to bottom so the topmost object is always the one returned

See also
MouseKeyboard:MouseOnObject
MouseKeyboard:MouseClickOnObject
MouseKeyboard:MouseClickOnObjectRep



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