system
1
|
|
|
 |
Attention |
Topic was automatically imported from the old Question2Answer platform. |
 |
Asked By |
gp1 |
Having a GridContainer, how to insert an item on the top or in the middle of its existing children?
By default it’s inserting an item on the bottom.
Thank you in advance!
system
2
|
|
|
 |
Reply From: |
kidscancode |
The grid container is based on child order. When you add a new child, put it where you want it with add_child_below_node()
or move_child()
There are many useful methods for managing children in Node: Node — Godot Engine (latest) documentation in English