How to find the Selected GameObject in Editor

Debug.Log( "Selected Object: " + Selection.activeGameObject );
selected-gameobject-editor