Last active
June 27, 2019 14:18
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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