How to keep game view and player camera in top part of screen

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ekana

I’m trying to make a game where half of the screen is sort of a virtual version of a Gameboy and the top part Is the actual game view. How would I go about making sure the game view plus the 2d camera are locked to the top half of a screen. (this is a 16:9 vertical game, with hopes of supporting taller displays.)

:bust_in_silhouette: Reply From: exuin

Use a viewport Using Viewports — Godot Engine (stable) documentation in English