LensStudio:UiTest.MouseEvent
FunctionConstructs a synthetic mouse event of the given type, button, modifiers, and position for delivery via sendEvent.
MouseEvent(
type,button,modifiers,x,y):MouseEvent
Constructs a synthetic mouse event of the given type, button, modifiers, and position for delivery via sendEvent.
Parameters
| Parameter | Type |
|---|---|
type | EventType |
button | MouseButton |
modifiers | KeyboardModifier |
x | number |
y | number |