vec2 should be access with array notation not x y