How to binding Mouse Click Event On Editor(Not playing)

I want to make a Event about mouse click at Edtior.

if i click a Actor in Edtior(Not after play button).

then Click Event Delegate call Custom Function.

but i cant find that how can to do this.

i make this in C++ not BP.


actually, i make this Click Event in Actor’s BP, but it didn’t work well.

I made a delgate connected with OnClicked Event in Event Graph,

and i connect this Event with Construction Script.

but that event didn’t work well.

i didn’t Mouse Click, but this event called.

how can i do that as C++?