Documentation Index
Fetch the complete documentation index at: https://docs.overlayed.gg/llms.txt
Use this file to discover all available pages before exploring further.
RenderWindow is just a wrapper around a BrowserWindow, so you can use all the same methods like .show(), etc
Options
When creating the RenderWindow, you may pass in extra options:
interface RenderWindowConstructorOptions extends BrowserWindowConstructorOptions {
layer?: number; // default: 0
createForeground?: boolean; // default: true
hasInput?: boolean; // default: true
hasInputBlock?: boolean; // default: true
hasCursorOverride?: boolean; // default: true
}
Here’s a comprehensive list of additional methods we provide on the RenderWindow:
Layer
Manage the stacking layer of an individual window. This is the same concept as z-index in web browsers.
getLayer(): number;
setLayer(layer: number): void;
Allow or disallow the window to receive input (e.g. mouse hover, clicks, etc)
getInput(): boolean;
setInput(input: boolean): void;
Blocks input from passing through to the game.
getInputBlock(): boolean;
setInputBlock(input: boolean): void;
Cursor Override
Forces the cursor to show when over the window
getCursorOverride(): boolean;
setCursorOverride(input: boolean): void;