Change the selection set from an Editor Utility Widget

Hi. I’m using an Editor Utility Widget that iterates over the current selection set and replaces some of the select actors with a different class, destroying the originals, which works fine.

After it has completed, I want the new actors to be added to the selection set automatically. Is there a way to do that using BP? (If not, then it would be nice to have.)

At this point, I don’t mind if I use a hacky work-around. E.g., if there is a console command I’m missing that can select a specific actor, or a way to spoof a click in the viewport, then that would do.

Basically, how can I select an actor in the editor via BP? Any suggestions appreciated.

1 Like

I know this is an old topic but posting the solution here in case anyone needs it.

You can use “Get EditorActorSubsystem” and “Set Selected Level Actors” to update the currently selected actors in a level.
Important Note - I had to deselect Context Sensitive in order to find this node

1 Like