I want to do the following:
I have a control node and I want to create an HBoxContainer and multiple (identical) TextureRects inside of the HBoxContainer.
The code I have for that is this:
var ITEM = TextureRect.new()
ITEM.texture = load("res://item.png")
var row1 = HBoxContainer.new()
for i in 5:
This almost works, the problem is that Godot only attaches one child, not 5. Can someone help?