Setting toolbar items active

Hello,

I’m curious on how I can detect an item in the Toolbar slot and set a designated item on the player active. How do yall go about that?

Thank you!

if you refer to the SceneView toolbar icons and tools, this is the starting point:

Tools are implemented as classes that inherit from EditorTool:

I think they’re referring to their game’s toolbar they showed here: UI in the editor is different from Build

But this is a pretty broad/vague question. Usually… with code?