|Topic was automatically imported from the old Question2Answer platform.
|Published before Godot 3 was released.
I have a GridContainer where I add buttons to be placed as a grid. It works fine until there.
Then, I try to place some TextureFrames on top of each button like:
(every dot is a TextureFrame)
But instead of that, I get:
I wonder if is there any way to get the real position of the buttons after being placed by the GridContainer. I tried get_pos and get_global_pos but the result is the same.
One of the things I tried is create the buttons first and then iterate again to place the TextureFrames but nothing. The position is the same for everybutton.
Any help is appreciated, thank you in advance!
Edit: I discovered that the issue is I try to place TextureFrames before the GridContainer updates the position of the buttons.