When I position my popup above the x axis Origin, it stays below this point in-game - why?

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

All I’m trying to do i position a popup in my game. After so much frustration, I came to ask here. Why can’t I position my popup above the x origin line and have it also above that line in game?? I’m so perplexed. The popup stops short of going above that line no matter where I position it.

Hi Pluto1. Can you share some screenshots so people in the forum can see the problem? Also, if you can share how you are positioning the popup (in a script?), maybe somebody can help with that.

AndyCampbell | 2020-11-14 00:21

Ope you know what, I kinda sorta figured it out. I guess I was hung up and didn’t do full due diligence. Turns out the popup stops short of appearing anywhere outside of the viewport when I run the game. However, my world that I want popups to appear in (in a fixed location) is 100x larger than the viewport. I don’t know how to access the viewport, though.

I already have camera that follows the player, Edit: I just need to place able to place popups outside of the “main” viewport and still have them appear in that location

Pluto1 | 2020-11-14 22:11

I need the answer to this as well.

Lunam Games | 2022-01-28 00:58

Lol well this is old. I haven’t touched Godot in awhile and I can honestly say with confidence I remember that I just used something else (not a popup) and coded and added elements to it as I needed, to act like a popup. Basically… in reference to my problem I just decided it was impossible. So use a different element, not a “popup” specifically, and work with it similarly.

Pluto1 | 2022-01-28 06:21

:bust_in_silhouette: Reply From: witch_milk

I thought a view port’s size and texture were easily accessible in game.