How to prevent an object from moving with the gizmo manager

Hello I just want to be able to change the size of my object.
I don’t want to move it and I don’t want to rotate it.

I have disabled the rotation but I don’t know how to disable the position change

Exemple : Playground custom gizmo manager

I assume you are referring to the bounding box gizmo?

I believe there is no way of disabling the position change when dragging, but maybe @Cedric will be able to answer when he is available

You can disable the movement with the dragging behavior’s disableMovement property. Internally it’s still calculating the target position but it wont move the mesh anymore at least.

4 Likes