# How to use Bumper buttons in Unreal Engine development

**URL:** <https://forum.magicleap.cloud/t/how-to-use-bumper-buttons-in-unreal-engine-development/3737>\
**Category:** Unreal Engine\
**Tags:** unreal, openxr, input\
**Created:** [July 3, 2024, 5:31pm UTC](https://forum.magicleap.cloud/t/how-to-use-bumper-buttons-in-unreal-engine-development/3737 "2024-07-03T17:31:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sentomo](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@sentomo](https://forum.magicleap.cloud/u/sentomo)\
**Post date:** [July 3, 2024, 5:31pm UTC](https://forum.magicleap.cloud/t/how-to-use-bumper-buttons-in-unreal-engine-development/3737/1 "2024-07-03T17:31:35Z")

</div>

I tried running the VR template project on Magic Leap 2 while following the link below.

> **[Grab Interaction | MagicLeap Developer Documentation](https://developer-docs.magicleap.cloud/docs/guides/unreal/unreal-grab-interaction/index.html)**
>
> This guide will demonstrate how to use the UE Enhanced Inputs to modify the Unreal Engine VR Template VRPawn blueprint graph to work with the Magic Leap 2 controller.

In the VR template project, there is logic to shoot a gun, so I want to treat the Bumper Button as an input in  
Content/VRTemplate/Input/IMC\_Weapon\_Right, but I can't select the Bumper Button.

How do I use the Bumper Button in Unreal Engine development?

My development environment is as follows:  
**ML C SDK version** : 1.7.0  
**Unreal Engine version** : 5.3(Source code build)  
**Unreal Plugin version** : 1.4.0

---

<div class="post-metadata">

**Author:** ![cfeist](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/cfeist/32/1768_2.png) [@cfeist](https://forum.magicleap.cloud/u/cfeist)\
**Post date:** [July 8, 2024, 3:31pm UTC](https://forum.magicleap.cloud/t/how-to-use-bumper-buttons-in-unreal-engine-development/3737/2 "2024-07-08T15:31:33Z")

</div>

Hey sentomo,

Welcome to the Magic Leap Developer Forums!

In Unreal, the bumper button on the controller is named "Shoulder"  
To set this up, please navigate to **Content/VRTemplate/Input/IMC\_Weapon\_Right** to begin editing the controller mappings.

Under **Mappings-\>IA\_Shoot\_Right** , you should see a drop down that allows you to select a button to map this action to.

From that dropdown, you will want to select **Magic Leap Controller-\>Magic Leap (R) Shoulder**

 ![ShoulderButtonUnrealMapping](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/c/c9f1927a9668df0c7b2c14e31743efb824696d34.png)

Please let me know if this works for you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/bd9b737a4d45ea243aa7eb177d60a773b806899a.svg) [@system](https://forum.magicleap.cloud/u/system)\
**Post date:** [July 30, 2024, 7:37pm UTC](https://forum.magicleap.cloud/t/how-to-use-bumper-buttons-in-unreal-engine-development/3737/4 "2024-07-30T19:37:59Z")

</div>

Closed on July 30, 2024, 7:37pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
