overwolf.games.inputtracking.getMousePosition
Overwolf APIs / overwolf / overwolf / games / inputTracking / getMousePosition
function getMousePosition(
callback: CallbackFunction<GetMousePositionResult>,
): void;
Returns the input last mouse position in game. the data includes the mouse position and a boolean stating whether the keypress was on a game or on an Overwolf widget (onGame).
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | CallbackFunction<GetMousePositionResult> | A callback with the mouse position information |
Returns
void