Jump to content
GreenSock

sonicworks

Disable a single transform item

Moderator Tag

Recommended Posts

Hi,

 

Does anyone know if there is a simple way of disabling (making un-selectable) a specific transform item?

 

If there isn't a property for this maybe I could remove it's click listener.

 

Thanks

 

Tim

Link to comment
Share on other sites

Sure, just set its "enabled" property to false. :)

 

manager.getItem(myTargetObject).enabled = false;

Link to comment
Share on other sites

Great, that works a treat!

 

Thanks for the help

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.
×