Class MouseEvent

Version added: before 9.5
The MouseEvent class is provided to your script when a mouse event occurs. It contains information about the event.

Properties:

Name Type Description Ver
altKey bool True if the alt key is down, otherwise false. < 9.5
ctrlKey bool True if the ctrl key is down, otherwise false. < 9.5
doubleClick bool < 9.5
drawingStartVec LM_Vector2 Added in version 11 11.0
drawingVec LM_Vector2 Added in version 11 11.0
eraser bool Added in version 10 10.0
penPressure real The current pen pressure (if a drawing tablet is being used). Pen pressure can vary from 0.0 to 1.0. If the user is working with a mouse, and not a drawing tablet, the pen pressure will always be 0.0. < 9.5
pt LM_Point The pixel location of the current mouse event. < 9.5
shiftKey bool True if the shift key is down, otherwise false. < 9.5
startPt LM_Point The pixel location of the initial mouse down event. < 9.5
startVec LM_Vector2 The 2D layer location of the initial mouse down event. < 9.5
vec LM_Vector2 The 2D layer location of the current mouse event. < 9.5
view MohoView A reference to the Anime Studio editing view. < 9.5