# Problem with action mapping

**URL:** <https://forums.unrealengine.com/t/problem-with-action-mapping/451675>\
**Category:** Blueprint\
**Tags:** right-click, unreal-engine, action-mappings, UE4, question, Blueprint\
**Created:** [July 4, 2019, 3:20pm UTC](https://forums.unrealengine.com/t/problem-with-action-mapping/451675 "2019-07-04T15:20:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![B0n3c0\_S1nf0r0s0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@B0n3c0\_S1nf0r0s0](https://forums.unrealengine.com/u/B0n3c0_S1nf0r0s0)\
**Post date:** [July 4, 2019, 3:20pm UTC](https://forums.unrealengine.com/t/problem-with-action-mapping/451675/1 "2019-07-04T15:20:51Z")

</div>

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:**

 ![281414-499.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/e/cae87d1b3bad421e5fcedf77511fe401be8bf985.png)

![281415-500.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/a/66ab71733371d4f9881d3ac2aae86ec23723641b.png)

**With the help of these links:**

> **[Input Action And Axis Mappings In Unreal Engine 4](https://www.unrealengine.com/en-US/blog/input-action-and-axis-mappings-in-ue4)**
>
> In Unreal Engine 4 we wanted to make binding input events as easy as possible. To that end, we created Input Action and Axis Mappings. While it is certainly valid to bind keys directly to events, I hope I can convince you that using mappings will be...

> **[Right click on an actor](https://forums.unrealengine.com/questions/134349/right-click-on-an-actor.html)**
>
> Hi! I'm trying to implement OnClicked event for an actor but for the right mouse button. I didn't find anything in unreal events and didn't manage to create one. So I just want some basics: a player presses right button on an static mesh and a...

> **[How to create a right mouse click event with Blueprint?](https://forums.unrealengine.com/questions/17729/how-to-create-a-right-mouse-click-event-with-bluep.html)**
>
> The standard mouse click event only listens for the left mouse button. How would I create an event that listens for the right mouse button?

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):**

 ![281416-498.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/8/8d8cbc5a6c06dff8faa5c69c3cac925d23ba3518.png)

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?
