How to use viewports?

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

I can’t make viewports display at all.

I’ve made a new viewport node and added a 3d camera as a child. The viewport doesn’t seem to have any x and y position so how do I position it? Only a width and height. I also can’t make it display anything. In my setup I have a 3d camera outside and above the viewport node, and then another inside the viewport node. My hope is to show both on screen at once, with the viewport node being a smaller rectangle showing the child camera. But nothing I do I having any effect. Only the first 3d camera shows anything and the viewport and it’s camera are completely useless. How do I use them?

(Deleting the first camera causes nothing to show at all, the other camera&viewport are completely disabled. I also tried making it a child of a control but that didn’t work.)

:bust_in_silhouette: Reply From: Bartosz

Vieport doesn’t display anything you need to add sprite to your scene that will display what inside viewport and it will do so only inside actual game not in editor