Making “Selected Rectangle” appear without clicking

I would like to write code to make the “selected rectangle” appear over an entity without having to click that entity,
Is there some place I could find sample code for this?

You can do that the same way you track entities, just set the Viewer.selectedEntity to the entity you want:

viewer.selectedEntity = entity;

``

Let me know if that works!

That was easy :slight_smile:

Much Thanks!