Change offset to a Vec2
Change coord to a Vec2