godot/modules/gdscript/tests/scripts/parser/features/nested_array.gd

6 lines
172 B
GDScript

func test():
var array = [[[[[[[[[[15]]]]]]]]]]
print(array[0][0][0][0][0][0][0][0])
print(array[0][0][0][0][0][0][0][0][0])
print(array[0][0][0][0][0][0][0][0][0][0])