Can I use Blueprints to make an Editor Utility that uses mouse input in the viewport?

I want to make a tool that recognizes when a user has their mouse over a component in the viewport and has either clicked LMB, RMB or scrolled the mousewheel, then pass that as an event to the actor containing the component.

Is that possible with blueprint editor scripting, or am I going to have to go into C++?

Are there good resources for doing this kind of thing in either BP or C++? Because so far I’ve not found anything this specific.

Thanks.