Skip to main content

Overview

Electron APIs / overlay

APIs for controlling and creating overlays in games. Overlay is the ability to show windows on top of the current game window.

Standard mode

Standard mode is used in games where the mouse is visible while playing the game. For example, in MOBA games such as League of Legends, Dota 2, and others, the mouse cursor is visible during gameplay, 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 used in games where the mouse is not visible while playing the game. For example, in FPS games such as Apex Legends, Fortnite and others, the mouse cursor is not visible during gameplay, so the only way to interact with the Overwolf app window is by entering 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
ActiveGameInfoInfo about the currently running 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 game is launched.
GameLaunchEventOptionsConfiguration options for controlling the type of overlay we inject.
GamesFilterFilter object for game overlays.
GameWindowInfoInformation about a running game's window.
InjectionErrorError handler for the overlay injection process.
IOverlayHotkeyRepresents an overlay hotkey configuration.
IOverlayHotkeysManages the registration, update, and removal of overlay hotkeys.
IOverwolfOverlayApiAPIs for managing Overwolf overlay windows, hotkeys, input modes, and game integration.
OverlayBrowserWindowRepresents an overlay window instance.
OverlayOptionsOverlay configuration 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.
PassthroughTypeType of input passthrough behavior for overlay windows.
ZOrderTypeType of overlay window stacking behavior.