GetMousePosition

From OxeyeWiki

Revision as of 14:01, 29 January 2010 by Thewreck (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

daisy.getMousePosition()

This method returns the X and Y position of the mouse, relative to the top-left corner of the application's active surface.

Parameter Expected Type Description
No parameters
Returns

Returns two values to the stack, X and Y values of the mouse.

Daisymoon Video Lib

Example

   local x, y = daisy.getMousePosition()
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox