Overlay
Overlay is ability to show a window on top of the current game window. There are 2 kinds of overlay modes, standard and exclusive.
In games which have a state with a mouse cursor (usually MOBA), users can interact with Overwolf app without pulling focus out of the game.
In games which have a state without a mouse cursor (usually FPS), users need a way to control and interact with the app’s 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 overlayed on the game window which doesn't allow keyboard or mouse input to pass into the game.
How to enter exclusive mode
To enter exclusive mode you will need to configure a hotkey. When you have a window that is bundled to a hotkey, and you want to enter into exclusive mode when the hotkey is pressed, you should follow the example in overlays-hotkeys.service.ts in the sample app.