overlayed
function:
electron
The electron instance to use for the overlay. Note this should be globally imported from the electron package.-
Type
-
Example
applicationId
The id of the application, this can be found in the Overlayed Dashboard-
Type
-
Example
modules
The modules to load.-
Type
-
Details
Modules allow you to subscribe to a specific game, including:
- Game Events
- Overlay Events like when the game launches
-
Example
keybinds
The apps keybinds-
Type
-
Details
Keybinds require the array of
KeyboardEvent#code and the
mode of the keybind.
- “Hold” will trigger the callback when the keybind is held down.
- “Toggle” will trigger the callback when the keybind is toggled on and off.
-
Example
init
-
Type
-
Default:
true
- Details Whether to initialize the overlay right when the function is called. Read more here.
-
Example
universal
-
Type
-
Default:
false
-
Details
When true, the overlay will be loaded and attempt to render inside of all supported games. When
false, only games registered under the
modules
array will be loaded. Read more here. -
Example
debug
-
Type
-
Default:
false
-
Details
When enabled:
- logger.debug() logs will be printed and saved to the log file
-
Example