Hi, I need to insert Vector2 into arrays so I can use it as separate coordinates. I tried using Vector2Array but I don`t get how to do it in the documentation.Tried this:
var vector_array = Vector2Array(my_array)
But the results were that it acts like a string, the values are fine, even the structure is like the Vector2( x, y ) , but when I can from the array the x or the y coordinate, it always say:
Invalid get index 'x' (on base: 'Array').
Also the value that I`m adding to the array is a Vector2, but apparently in the array always works as a string.