Geometry Nodes

It’s a little hacky, but you could use the relative location of an empty:

1 Like