WebCommandMouse
A WebCommand that sends a mouse cursor event to the browser.
Category: Modules
Base class: WebCommand
Properties
Normal_Pos : Vec2
Sets the mouse cursor position event to send. This position is normalized where position (0, 0) is top left and position (1, 1) is bottom right. Setting this to a negative number will not send this event.
pressed_left : int
A left button pressed event. Set to any non-zero value to trigger event.
pressed_middle : int
A middle mouse button pressed event. Set to any non-zero value to trigger event.
pressed_right : int
A right mouse button pressed event. Set to any non-zero value to trigger event.
released_left : int
A left mouse button released event. Set to any non-zero value to trigger event.
released_middle : int
A middle mouse button released event. Set to any non-zero value to trigger event.
released_right : int
A right mouse button released event. Set to any non-zero value to trigger event.
scroll_wheel : int
Sets a mouse scroll wheel value to send. Positive values scroll up, negative scroll down and zero does not send the event.