0 votes

Hi,

I want to write my own popup control with predefined buttons and some behavior.
I created a separate scene and build a layout using 'Control' section of nodes (margin, h/vBox containers etc.)
And now I need to specify the position in this tree where all the nodes, specified in consumer tree will be placed.
e.g. I have Main screen:

Main
--MyCustomPopup
----Label1
----Button1

These label and button should be located under VBoxContainer in MyCustomPopup tree:

MyCustomPopup
--MarginContainer
----Panel
------VBoxContainer
--------HERE
----Other containers

How can I implement it?

Godot version 3.5
in Engine by (12 points)

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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.