Summarizing my problem well, I need a single button (right mouse button) to do two things.
In my project (TopDown) I defined that instead of the left mouse button, the character moves with the right mouse button.
I happen to like that when I click the right mouse button on a particular actor, a simple event is called (print hello).
I tried doing this with the Event On Clicked, but it only works with the left mouse button:
With the help of these links:
I figured out how to do an action/event call with the right mouse button, but even then I did not succeed.
Soon I discovered that the reason was that there was already an action that was executed with the right mouse button (walk/set destination):
I would like my character to continue to move with the right click of the mouse, but how do I also call an event when I click the right mouse button?
If the mapping is done with two different keys, it works perfectly:
In this case the character jumps and walks (instead of jumping it could be anything else):
I want this to happen by right-clicking (walking and jumping):
This action I want to perform is when clicking on the mesh of any actor, but I can only do this with the left button.