Is there a way to store a position as a single data type?
Since this is a 2D engine, I figured there'd be a native way to store a position in a single variable, in order to store a position, or to be able to store an array of positions.
For example, in most 2D games, I'd expect there to be a struct or class called Position or Vector2 that simply has two numbers X and Y.
For an editor like this, having a natural way to store positions global, local, or instance would be tremendously intuitive.
Is there a best way to do this?
Thanks