How can i detect Mouse Click Event in Editor Viewport(Before Play Button)

Im not on my PC so i can‘t check.

Go into your actors construction script an see if you can add the event OnClicked. If this exists in construction you should be able to use it just like you would in the eventgraph.