SendMouseMoveEvent

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



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);


See also