How can I retrieve the currently selected or active item in the Outliner?

The outliner is being worked afaik. I think there were ideas floating around where outliner and viewport selection become the same thing or are linked in some way. But at least 2.81 or later.

More info here:

1 Like