SendMouseMoveEvent: Difference between revisions
(Created page with "== browser.sendMouseMoveEvent(x, y) (Client-Side) == '''Client-side function to simulate mouse movement within a browser.''' === Usage: === <syntaxhighlight lang="javascript"> // Example: Simulating mouse movement to (500, 400). browser.sendMouseMoveEvent(500, 400); </syntaxhighlight> === Description: === Simulates mouse movement at the specified coordinates within the browser. === Parameters: === * <code>x</code>: X-coordinate of the mouse movement. * <code>y</c...") |
|||
| Line 1: | Line 1: | ||
{{ClientsideJsFunction}} | |||
{{JSContainer| | |||
Simulates mouse movement at the specified coordinates within the browser. | |||
''' | === Required Params === | ||
*'''x:''' {{RageType|Number}} - X-coordinate of the mouse movement. | |||
*'''y:''' {{RageType|Number}} - Y-coordinate of the mouse movement. | |||
=== | === Return Value === | ||
*'''void''' {{RageType|void}} | |||
=== | ==Syntax== | ||
<pre> | |||
browser.sendMouseMoveEvent(x, y); | |||
</pre> | |||
==Example== | |||
{{ClientsideCode| | |||
<syntaxhighlight lang="javascript"> | |||
// Example: Simulating mouse movement to (500, 400). | |||
browser.sendMouseMoveEvent(500, 400); | |||
</syntaxhighlight> | |||
}} | |||
}} | |||
=== | ==See also== | ||
[[Browser Definition]] | |||
[[Category:Browser API]] | |||
[[Category:Clientside API]] | |||
[[Category:Client-side Function]] | |||
[[Category:Shared Function]] | |||
Revision as of 20:33, 16 September 2024
Client-Side Function
JavaScript Syntax
Simulates mouse movement at the specified coordinates within the browser.
Required Params
- x: Number - X-coordinate of the mouse movement.
- y: Number - Y-coordinate of the mouse movement.
Return Value
- void void
Syntax
browser.sendMouseMoveEvent(x, y);
Example
Client-Side
// Example: Simulating mouse movement to (500, 400).
browser.sendMouseMoveEvent(500, 400);