Skip to main content
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:
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.

Input

Allow or disallow the window to receive input (e.g. mouse hover, clicks, etc)

Input Block

Blocks input from passing through to the game.

Cursor Override

Forces the cursor to show when over the window