Moving synched objects only along a defined plane

Hello, I am trying to create an application in which the user can move an object (in this case a flat box parallel to xy-plane). The user should also be able to rotate the object, but it should stay parallel to the xy-plane. Is there a way to do so?
Thank you very much in advance.

Hi @MalteAC

Yes this is possible but requires understanding global variables and state in order to build this interaction yourself. Here’s an example of constraining movement to the closest X, Y or Z axis (a bit like a gumball) How to limit movements and prevent scaling of objects in Fologram space?

You should be able to edit the cluster in that definition that constrains the motion to one of those three vectors to an XY plane instead.

Thank you! I will have a look at the examples