find the selected game object

Is there an easy way to find the game object that is selected in the hierarchy?

Do you mean find it in the scene? With your mouse in the scene window press the ‘f’ key.

No, but I ended up adding an inspector script and saving target to a static var, that worked.