# Left Mouse click event - how to use Gamepad to mimic

**URL:** <https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [November 8, 2018, 3:49am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502 "2018-11-08T03:49:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![swhite68](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@swhite68](https://forums.unrealengine.com/u/swhite68)\
**Post date:** [November 8, 2018, 3:49am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/1 "2018-11-08T03:49:47Z")

</div>

All  
I was wondering how I can mimic the standard functionality of the left mouse click with an input from a Gamepad?  
Example - I have created an Accept button and using the keyboard/Mouse I can move over the button and click using the left mouse to hit the button and it does the functionality.

I’ve had a look through the Inputs and there is no mouse inputs in there so I assume there is somewhere else to add the Gamepad element to mimic this.

Can someone point me in the right direction

Thanks

🙂

---

<div class="post-metadata">

**Author:** ![DVS\_Dredd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DVS\_Dredd](https://forums.unrealengine.com/u/DVS_Dredd)\
**Post date:** [November 8, 2018, 7:09pm UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/2 "2018-11-08T19:09:20Z")

</div>

There’s a certain BP set up to have the controller read the UI and you would have set it up in the widget. I’m at work right now so I can’t send a screen shot. But if I can find the tutorial again I will link it. Have you tried connecting a controller to see if you can move around?

---

<div class="post-metadata">

**Author:** ![swhite68](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@swhite68](https://forums.unrealengine.com/u/swhite68)\
**Post date:** [November 9, 2018, 12:52am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/3 "2018-11-09T00:52:14Z")

</div>

Hi  
Yes I have my xbox controller connected and it moves the player perfectly - just cant get it to mimic the old left click of the mouse  
Thanks for helping 🙂

---

<div class="post-metadata">

**Author:** ![swhite68](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@swhite68](https://forums.unrealengine.com/u/swhite68)\
**Post date:** [November 9, 2018, 11:49am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/4 "2018-11-09T11:49:52Z")

</div>

All sorted - Turns out it uses the A button which I had assigned to a different function DOH!!

---

<div class="post-metadata">

**Author:** ![GarthHere](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GarthHere](https://forums.unrealengine.com/u/GarthHere)\
**Post date:** [August 20, 2020, 7:28am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/5 "2020-08-20T07:28:47Z")

</div>

![Capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/f/8f68e5acc418532eabb065528638e3234960a008.jpeg)

Hi all

Check these settings in your custom PlayerController.

---

<div class="post-metadata">

**Author:** ![lucasmouraweb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lucasmouraweb](https://forums.unrealengine.com/u/lucasmouraweb)\
**Post date:** [April 26, 2021, 9:24pm UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/6 "2021-04-26T21:24:34Z")

</div>

Its not work, i need make some especific configuration???

---

<div class="post-metadata">

**Author:** ![FarrOutStudio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/farroutstudio/32/759265_2.png) [@FarrOutStudio](https://forums.unrealengine.com/u/FarrOutStudio)\
**Post date:** [August 22, 2023, 5:41pm UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/7 "2023-08-22T17:41:07Z")

</div>

![GamepadHUD2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/1/6213c644c84a752619f1123e0850cdde7075132e.png)  
 ![GamepadHUD1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/f/c2f1930aa116bd81727dcce815da2740a502233c.png)  
It’s not the greatest solution, and is quite tedious depending on how much you have in your HUD, but this works for me at least. I found I needed to overlay my non-btn UMG elements that had click events with a transparent btn, that way you can use the OnHovered and Unhovered events to set a boolean. Then you can simple collapse all your click logic into a function, and call that from your pawn/character’s BP

---

<div class="post-metadata">

**Author:** ![okanerenli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@okanerenli](https://forums.unrealengine.com/u/okanerenli)\
**Post date:** [February 3, 2024, 8:02am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/8 "2024-02-03T08:02:45Z")

</div>

Don’t forget to do this…  
“Use Mouse for touch”

 ![01a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/b/e0b45f81edabe5979568b6652bf63a86c6e77e6c.jpeg)

---

<div class="post-metadata">

**Author:** ![Yaeko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yaeko](https://forums.unrealengine.com/u/Yaeko)\
**Post date:** [March 3, 2025, 5:45am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/9 "2025-03-03T05:45:46Z")

</div>

Do we have something to make this work in UE5.3?

Because, this doesnt anymore.

---

<div class="post-metadata">

**Author:** ![jacksonnexhip](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacksonnexhip/32/494650_2.png) [@jacksonnexhip](https://forums.unrealengine.com/u/jacksonnexhip)\
**Post date:** [March 10, 2025, 8:52am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/10 "2025-03-10T08:52:28Z")

</div>

Yeah I am having issues too. Selecting all the settings in Garth’s comment above gets my mouse cursor to highlight the buttons but the face button on my controller won’t click them. Anybody got any ideas?  
UE 5.4

---

<div class="post-metadata">

**Author:** ![Matrix\_Moddz\_PT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Matrix\_Moddz\_PT1](https://forums.unrealengine.com/u/Matrix_Moddz_PT1)\
**Post date:** [August 30, 2025, 5:23am UTC](https://forums.unrealengine.com/t/left-mouse-click-event-how-to-use-gamepad-to-mimic/118502/11 "2025-08-30T05:23:31Z")

</div>

Theres this FREE plugin which has a function called “Simulate Mouse Click” and has other types of mouse clicks included.  
Add it to your project, go to the player controller that you are using on your character → Class Settings → Parent Class → UINAV Controller.

You can now call Simulate Mouse Click function. No need for any other modifications I believe.  
Just plug it into your desired key and try it.

PS (This plugin underwent through some modifications and the owner did create a different paid version but I believe the free version should still work just fine!!!” As long as it has the Simulate Button Click function it should be fine!)

Also dont forget to enable (Execute when paused) on your key, if you are trying to click on something while the game is paused.

This example is inside my character.

 ![Simulate Click](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/f/71f2ae48607d8629e3ff18a8e3a2d679594f88c6.png)

> **[UI Navigation 3.0](https://www.fab.com/listings/a91f6e67-5c2d-46ef-926d-00a35525579c)**
>
> UINavigation is a simple-to-use framework that allows you to build UMG menus that can be navigated with Mouse, Keyboard, Gamepad, or any combination of those.It's designed to be easy to setup, flexible and extendable.WARNING: Please uninstall from...
