How to make widget affect last clicked actor?

Can you show that part - the way you are clicking on it, how is this done atm?