Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions automated_updates_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
{
"date": "2026-07-07",
"summary": "Improved keyboard docs: added 'Key just pressed' (held vs one-frame) and 'Any key released' conditions, control-remapping note, and a reference list of valid key names"
},
{
"date": "2026-08-26",
"summary": "Improved screenshot docs: clarified it only works on desktop (Windows/Linux/macOS), noted automatic .png extension, and fixed incorrect expression syntax in the example"
}
]
}
8 changes: 6 additions & 2 deletions docs/gdevelop5/all-features/screenshot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ title: Screenshot extension

This extension lets you save a screenshot of the running game in a specified folder.

!!! note

Taking a screenshot to a file is only supported on **Windows, Linux and macOS** desktop exports. It does not work in web games or on mobile (Android/iOS), because browsers are not allowed to write files directly to the device.

Note: As of GDevelop 5.0.0-beta92 the screenshot action is no longer an extension. Just add an action and search for `screenshot` or go to `Other Actions`/`Screenshot`/`Take screenshot`.

### Actions
Expand All @@ -19,7 +23,7 @@ Use this action to save a screenshot of everything which is currently drawn on t

The save path needs to be an absolute path on the file system (Like "C:\MyFolder\MyScreenshot.png" on Windows)'

Relative paths are not supported.
Relative paths are not supported. If the path does not end with `.png`, the extension automatically adds it for you.

!!! note

Expand All @@ -29,7 +33,7 @@ Relative paths are not supported.

This path:

``` <FileSystem::PicturesPath>() + <FileSystem::PathDelimiter>() + "my_screenshot.png" ```
``` FileSystem::PicturesPath() + FileSystem::PathDelimiter() + "my_screenshot.png" ```

This will save the screenshot to the *Pictures* folder on Windows, Linux and MacOS.

Expand Down