SendMouseMoveEvent

From RAGE Multiplayer Wiki
Revision as of 20:32, 16 September 2024 by Sander (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

browser.sendMouseMoveEvent(x, y) (Client-Side)

Client-side function to simulate mouse movement within a browser.

Usage:

 // Example: Simulating mouse movement to (500, 400).
 browser.sendMouseMoveEvent(500, 400);

Description:

Simulates mouse movement at the specified coordinates within the browser.

Parameters:

  • x: X-coordinate of the mouse movement.
  • y: Y-coordinate of the mouse movement.