Robuta

https://docs.unity3d.com/2021.3/Documentation/ScriptReference/Selection-activeObject.html Unity - Scripting API: Selection.activeObject scripting apiunityselection