Skip to content

Instantly share code, notes, and snippets.

@RichardEllicott
Last active June 27, 2019 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardEllicott/b25fa8eea45ba7ae54a9265e7cf76f44 to your computer and use it in GitHub Desktop.
Save RichardEllicott/b25fa8eea45ba7ae54a9265e7cf76f44 to your computer and use it in GitHub Desktop.
showing iterating child nodes of GridContainer to produce the coordinates of the rectangles
extends GridContainer
func _ready():
print('running tests...')
for child in get_children():
print(self, " found child: ",child)
print(child.rect_global_position)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment