+1 vote

I would like to spawn the instances in this order

  • 0 - 3 - 6
  • 1 - 4 - 7
  • 2 - 5 - 8

Instead of the horizontal expand that the grid container has

  • 0 - 1 - 2
  • 3 - 4 - 5
  • 6 - 7 - 8

and add new columns without affecting the order of the previous columns.

I could move the nodes manually or create a new vertical container, but I wonder if there's a way to do this from the node itself or an easier way to achieve this same result, it would be more comfortable to work with. I tried to rotate the grid container but adding new instances reset the orientation and in all honesty it's not that good of a solution.

in Engine by (235 points)
edited by

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 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 webmaster@godotengine.org with your username.

Categories