How to get notification when Actor is selected in Editor?

The active editor mode has a tick function. It is run every time when you are on the editor using that mode. Maybe that helps