Skip to main content

LensStudio:UiTest.MouseEvent

Function

Constructs 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

ParameterType
typeEventType
buttonMouseButton
modifiersKeyboardModifier
xnumber
ynumber

Returns

MouseEvent