Click or drag to resize
LayerBaseGetMousePosition Method
Retrieve the current mouse position

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public Point GetMousePosition()

Return Value

Type: Point
Layer-relative coordinate representing the current position of the mouse.
Remarks
This can be used to set a sprite's position at the mouse cursor and make it behave like a mouse pointer.
See Also