Funzione
Veloce
WebUI:SendMouseClickEvent
You must send both Down and Up to make it work properly
Non ancora tradotto
Sintassi
my_web_ui:SendMouseClickEvent(mouse_x, mouse_y, mouse_type, is_mouse_up, modifiers = WebUIModifier.None, click_count = 1)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
mouse_x
|
integer | — | Position X of the mouse |
mouse_y
|
integer | — | Position Y of the mouse |
mouse_type
|
WebUIMouseType | — | Which mouse button |
is_mouse_up
|
boolean | — | Whether the event was up or down |
modifiers
facoltativo
|
WebUIModifier | WebUIModifier.None |
Supports several modifiers separating by <code>|</code> (using bit-wise operations) |
click_count
facoltativo
|
integer | 1 |
Use 2 for double click event |