Advanced window management Reference
Provides advanced features related to the game window positioning and interaction with the operating system.
Actions
Enable content protection
Enables or disables the content protection mode. This should prevent screenshots of the game from being taken.
See parameters
- Parameter 0 (❓ Yes or No): Enable content protection?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Enable the window
Enables or disables the window.
See parameters
- Parameter 0 (❓ Yes or No): Enable window?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Flash the window
Make the window flash or end flashing.
See parameters
- Parameter 0 (❓ Yes or No): Flash the window?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Window focus
Make the window gain or lose focus.
See parameters
- Parameter 0 (❓ Yes or No): Focus the window?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Maximize the window
Maximize or unmaximize the window.
See parameters
- Parameter 0 (❓ Yes or No): Maximize window?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Minimize the window
Minimize or unminimize the window.
See parameters
- Parameter 0 (❓ Yes or No): Minimize window?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Make the window always on top
Puts the window constantly above all other windows.
See parameters
- Parameter 0 (❓ Yes or No): Enable always on top?
- Parameter 1 (🔤 String): Level The level is like a layer in GDevelop but for the OS. The further down the list, the higher it will be. When disabling always on top, the level will be set to normal. From "floating" to "status" included, the window is placed below the Dock on macOS and below the taskbar on Windows. Starting from "pop-up-menu", it is shown above the Dock on macOS and above the taskbar on Windows. This parameter is ignored on linux. (one of: "normal", "floating", "torn-off-menu", "modal-panel", "main-menu", "status", "pop-up-menu", "screen-saver")
Technical note: parameter 2 are internal parameters handled by GDevelop.
Allow closing
Enables or disables closing of the window by the user.
See parameters
- Parameter 0 (❓ Yes or No): Allow closing?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Allow focusing
Allow or disallow the user to focus the window.
See parameters
- Parameter 0 (❓ Yes or No): Allow focus?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Allow full-screening
Enables or disables full-screening of the window by the user.
See parameters
- Parameter 0 (❓ Yes or No): Allow full-screening?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Enable window shadow
Enables or disables the window shadow.
See parameters
- Parameter 0 (❓ Yes or No): Enable shadow?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Enable kiosk mode
Puts the window in kiosk mode. This prevents the user from exiting fullscreen.
See parameters
- Parameter 0 (❓ Yes or No): Enable kiosk mode?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Allow maximizing
Enables or disables maximizing of the window by the user.
See parameters
- Parameter 0 (❓ Yes or No): Allow maximizing?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Allow minimizing
Enables or disables minimizing of the window by the user.
See parameters
- Parameter 0 (❓ Yes or No): Allow minimizing?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Allow moving
Enables or disables moving of the window by the user.
See parameters
- Parameter 0 (❓ Yes or No): Allow moving?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Window opacity
Changes the window opacity.
See parameters
- Parameter 0 (🔢 Number): New opacity A number between 0 (fully transparent) and 1 (fully opaque).
Technical note: parameter 1 are internal parameters handled by GDevelop.
Allow resizing
Enables or disables resizing of the window by the user.
See parameters
- Parameter 0 (❓ Yes or No): Allow resizing?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Window position
Changes the window position.
See parameters
- Parameter 0 (🔢 Number): X position
- Parameter 1 (🔢 Number): Y position
Technical note: parameter 2 are internal parameters handled by GDevelop.
Window visibility
Make the window visible or invisible.
See parameters
- Parameter 0 (❓ Yes or No): Show window?
Technical note: parameter 1 are internal parameters handled by GDevelop.
Conditions
Shadow enabled
Checks if the window currently has it's shadow enabled.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window always on top
Checks if the window is always on top.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window closable
Checks if the window can be closed.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window focused
Checks if the window is focused.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window full-screenable
Checks if the window can be full-screened.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Kiosk mode
Checks if the window is currently in kiosk mode.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window maximizable
Checks if the window can be maximized.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window maximized
Checks if the window is maximized.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window minimizable
Checks if the window can be minimized.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window minimized
Checks if the window is minimized.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window movable
Checks if the window can be moved.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window resizable
Checks if the window can be resized.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window visible
Checks if the window is visible.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Window enabled
Checks if the window is enabled.
See parameters
Technical note: parameter 0 are internal parameters handled by GDevelop.
Expressions
Expression | Description | |
---|---|---|
AdvancedWindow::WindowOpacity() |
Returns the current window opacity (a number from 0 to 1, 1 being fully opaque). | |
AdvancedWindow::WindowX() |
Returns the current window X position. | |
AdvancedWindow::WindowY() |
Returns the current window Y position. |
The Advanced window management extension is always installed in all GDevelop projects: there is no need to add it from the Project Manager.
This page is an auto-generated reference page about the Advanced window management feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.