Jump to content
Search Community

How to deselect item using code.

Abokamal 1 test
Moderator Tag

Recommended Posts

Hi there, I shall be thankful if some one help me out. What I want is to deselect the selected item with coding, not by mouse interaction. I also want to keep autodeselect property false. Any idea?

 

Thanks & Regards,

Farhan Ahmed.

Link to comment
Share on other sites

The deselectAll() method will deselect everything. If you want to select or deselect an individual item, you can either use selectItem()/deselectItem() methods of the TransformManager or set the TransformItem's "selected" property.

 

To disable the entire TransformManager instance, you can set its "enabled" property to false.

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.
×
×
  • Create New...