Can you set a limit to the AxisScaleGizmo?

I’m using the AxisScaleGizmo to scale a box. I’d like to set a limit so the box cannot be scaled beyond a certain dimension. I can’t find any information on this in the documentation.

Does anyone have a solution to this? Thank you in advance :slight_smile:

Hi and welcome @devontoast!

Here’s a Playground example I found showing how to constrain a gizmo.

Try modifying this example to use with the AxisScaleGizmo and repost a link here if you run into any issues, as it’s easier for community members to assist when a playground is provided.