assign mouse click as inspect (E) button

Hello everyone, I want to link a mouse-click button with the E (inspect) key in UE5. I have created a function to inspect an object using the E key, and now I want to add a button with a “continue” logo. When clicked, this button should perform the same action as pressing the E key. Is there a way to achieve this? I’ve tried several methods but haven’t succeeded yet. Thanks

• connect mouse input to the same chain of nodes
• or wrap the script in a function / hook it up to an event and have both inputs call it