I was kind of hoping it was possible to recreate it with export_custom or _get_property_list, but have no idea how I would do that and I can’t find any good resources on those.
A setter function sounds pretty good though.
In this case I’m working on a Hex object using Axial coordinate system (from Hexagonal Grids) which has two variables, q and r. Yes it can just be represented with a Vector2i where x is q and y is r, but it gets a bit annoying constantly having to do that conversion in your head everytime. Ideally I’d just like my custom Hex object to have a similar export interface as a Vector2i, except with q and r instead of x and y.