Skip to main content

Overview

Electron APIs / Overlay

APIs for controlling overlays in apps. Overlay is the ability to show a window on top of the current game window.

Standard mode

Standard mode is available in games where the mouse is enabled when playing the game. For example, in MOBA games such as League of Legends, Dota 2, and others, the mouse cursor is available, and therefore you are able to interact with the app windows without the need to pull keyboard and mouse focus input from the game.

Exclusive mode

Exclusive mode is available in games where the mouse is disabled when playing the game. For example, in FPS games such as CS2, Fortnite and others, there’s no mouse cursor, so the only way to interact with the Overwolf app window is by activating exclusive mode. This will show a semi-transparent window overlaid on the game window and doesn't allow keyboard or mouse input to pass into the game.

Interfaces

InterfaceDescription
ActiveGameInfoCurrent state of an actively running and detected game.
ExclusiveInputOptionsConfiguration options for entering exclusive input mode in the overlay.
GameInputInterceptionState of input handling between the game and the overlay system.
GameLaunchEventEvent fired when a supported game is launched.
GameLaunchEventOptionsConfiguration flags for launching or injecting the overlay into a game process.
GamesFilterFilter used to specify overlay support in games.
GameWindowInfoInformation about a running game's window.
InjectionErrorError handler for the overlay injection process.
IOverlayHotkeyHotkey configuration used by the overlay.
IOverlayHotkeysManages the registration, update, and removal of overlay hotkeys.
IOverwolfOverlayApiAPI managing Overwolf overlay windows, hotkeys, input modes, and game integration.
OverlayBrowserWindowActive overlay window instance.
OverlayOptionsConfiguration options for creating or modifying an overlay window.
OverlayWindowOptionsConfiguration options for an overlay window.

Type Aliases

Type AliasDescription
GameInfoInformation about a detected or running game.
GameInfoTypeType of the detected game.
GameProcessInfoInformation about a running game process.
GameWindowUpdateReasonReason for a game window update event.
HotkeyCallbackCallback for handling hotkey events.
HotkeyStateIndicates the state of a hotkey event.
InstalledGameInfoInformation about a game installed on the user's system.
PassthroughTypeInput passthrough settings:
ZOrderTypeOverlay layering of overlapping windows along the z-axis (depth).