0 votes

I would like to take a screenshot of the screen, but only the level itself, and not the HUD / CanvasLayers.
Is it possible?

This would be for the purpose of capturing a game shot while the game is on pause - a pause menu is visible, which I 'd like to exclude).

I though of hiding the pause menu on the moment of the screenshot, but this would probable cause a 'blink' noticeable to the player/user, no?

Thanks

asked Nov 19, 2017 in Engine by cardoso (368 points)

Maybe you could draw the level itself in a separate Viewport and then use queue_screen_capture() on that Viewport.

Thanks, it does seem like the only way to go for this case.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.