Using the Array of Objects Resource with unique objects

Thanks for the suggestions! But doesn’t

vertex(x, y)

need to be

vertex(this.x, this.y)

Or just the .this in general? Otherwise, it won’t know what x and y are, which now I am getting an error that they are not defined.