extends Control func GetTextures()->Array: var array = []; for i in get_children(): array.push_back(i.texture); return array;