Change entire game orientation during app?

I was wondering if it was at all possible to go from portrait to landscape when going from one scene to another? I am creating a mostly informational app, but it will have a few minigames in it that I would like to be Landscape. Thanks in advance!

I never did it but the action “change the size of the game window” could help.

There’s no GDevelop command to do this that I’m aware of, but I think Arthuro555’s javascript solution in this thread should help you get started.