- Home /
"add selected" editor script
Hi, I´d like to know if there´s a command to get the currently selected object(s) in the "hierarchy" tab within an editor script.
I´d like to be able to add these objects to an array in my editor script.
any suggestions? Thanks!
-Juanelo
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612202624im_/https://answers.unity.com/themes/thub/images/avi.jpg)