Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
broomhill

It is possible to restrict x or y scaling? [SOLVED]

Recommended Posts

Is it possible to prevent a specific TransformItem scaling on either the x or y axis? So for instance if I have an object where I only want the user to be able to adjust the y-axis scale, is there any properties avaiable for this? Thanks.

Link to comment
Share on other sites

You can set minScaleX/maxScaleX/minScaleY/maxScaleY on the individual TransformItem to do something like that, sure.

Link to comment
Share on other sites

That was exactly what I was needing and works perfectly. Thanks. I have focused so much on the TransformManager I didn't think to look at the TransformItem. Thanks Again!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×