# \#mouse-click

**URL:** https://forums.unrealengine.com/tag/mouse-click/5188.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Why are there no options other than "Handled" and "Unhandled" for widget mouse events?](https://forums.unrealengine.com/t/why-are-there-no-options-other-than-handled-and-unhandled-for-widget-mouse-events/2760434)

<div class="topic-metadata">

**Author:** [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Replies:** 6\
**Last updated:** [September 4, 2026, 7:09am UTC](https://forums.unrealengine.com/t/why-are-there-no-options-other-than-handled-and-unhandled-for-widget-mouse-events/2760434 "2026-09-04T07:09:43Z")

</div>

Mouse events can be specified as either “Handled” or “Unhandled.” Since “Handled” blocks input to underlying widgets, I set it to “Unhandled” to allow those widgets to process the input. I set the mouse events of the dr…

---

## [Retainer Box breaks On Click events in elements inside a Menu Anchor](https://forums.unrealengine.com/t/retainer-box-breaks-on-click-events-in-elements-inside-a-menu-anchor/2690053)

<div class="topic-metadata">

**Author:** [@GabaReis](https://forums.unrealengine.com/u/GabaReis)\
**Replies:** 1\
**Last updated:** [January 7, 2026, 3:36pm UTC](https://forums.unrealengine.com/t/retainer-box-breaks-on-click-events-in-elements-inside-a-menu-anchor/2690053 "2026-01-07T15:36:44Z")

</div>

I have a Menu Anchor showing a set of buttons. The menu worked great until I added a Retainer Box somewhere above in the hierarchy. The buttons respond to Hover events and mouse button down but the On Click event is neve…

---

## [Request: Support for touchpad "Tap with two fingers to right click"](https://forums.unrealengine.com/t/request-support-for-touchpad-tap-with-two-fingers-to-right-click/2463907)

<div class="topic-metadata">

**Author:** [@xenstudio](https://forums.unrealengine.com/u/xenstudio)\
**Replies:** 0\
**Last updated:** [April 19, 2025, 1:01am UTC](https://forums.unrealengine.com/t/request-support-for-touchpad-tap-with-two-fingers-to-right-click/2463907 "2025-04-19T01:01:22Z")

</div>

TLDR; better support for Track/touchpad in Windows 10/11, which has built in support for gesturing/advanced gestures. (Mac already has enhanced support for their Trackpad.) Hey folks! I’d love to see: Tap with two fin…

---

## [Why my mouse is clicking with an offset at certain distance?](https://forums.unrealengine.com/t/why-my-mouse-is-clicking-with-an-offset-at-certain-distance/483251)

<div class="topic-metadata">

**Author:** [@Guigfd](https://forums.unrealengine.com/u/Guigfd)\
**Replies:** 12\
**Last updated:** [April 9, 2025, 1:18pm UTC](https://forums.unrealengine.com/t/why-my-mouse-is-clicking-with-an-offset-at-certain-distance/483251 "2025-04-09T13:18:47Z")

</div>

Hello there! I’m making a game where I need the player to use the mouse click to solve some puzzles, but every level I create in my project the mouse click behaves oddly. It seems that after certain distance the click o…

---

## [Problem with "Click to Move" in Client side!](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578)

<div class="topic-metadata">

**Author:** [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Replies:** 10\
**Last updated:** [December 1, 2024, 11:41am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578 "2024-12-01T11:41:55Z")

</div>

Hello, I am trying to make a “Click to Move” system for Multiplayer but it seem Client… for some reason, is not moving I am sure I am doing something wrong but i am not sure of it Here is blueprint : “Get Hit R…

---

## [How to make "Click to Move" for Multiplayer?](https://forums.unrealengine.com/t/how-to-make-click-to-move-for-multiplayer/2150394)

<div class="topic-metadata">

**Author:** [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Replies:** 0\
**Last updated:** [November 25, 2024, 3:55pm UTC](https://forums.unrealengine.com/t/how-to-make-click-to-move-for-multiplayer/2150394 "2024-11-25T15:55:25Z")

</div>

Problem : if Played as “Play as Listen Server” only Server moves and Client doesn’t move Tried making it Server-Side movement to move player if made this way, only moves server not the client is it perhaps “List…

---

## [Mouse click on button in widget component works in PIE but not in standalone](https://forums.unrealengine.com/t/mouse-click-on-button-in-widget-component-works-in-pie-but-not-in-standalone/459659)

<div class="topic-metadata">

**Author:** [@BigAl0326](https://forums.unrealengine.com/u/BigAl0326)\
**Replies:** 3\
**Last updated:** [October 12, 2024, 1:24pm UTC](https://forums.unrealengine.com/t/mouse-click-on-button-in-widget-component-works-in-pie-but-not-in-standalone/459659 "2024-10-12T13:24:38Z")

</div>

For my main menu I have a 3d widget component acting as the menu which contains buttons that do different action, like get to the game. This whole setup works in PIE but when I play it in standalone or package the game i…

---

## [How to have a right click event on a HUD button?](https://forums.unrealengine.com/t/how-to-have-a-right-click-event-on-a-hud-button/460360)

<div class="topic-metadata">

**Author:** [@PerCat](https://forums.unrealengine.com/u/PerCat)\
**Replies:** 13\
**Last updated:** [June 26, 2024, 7:53pm UTC](https://forums.unrealengine.com/t/how-to-have-a-right-click-event-on-a-hud-button/460360 "2024-06-26T19:53:13Z")

</div>

Hey all working on some inventory stuff and I want the player to be able to right click on items in the inventory to see options of what they can do with it. I can do it fine with left click but I want left click to be …

---

## [Detect Drag and onClicked conflict](https://forums.unrealengine.com/t/detect-drag-and-onclicked-conflict/476579)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1dedd871](https://forums.unrealengine.com/u/anonymous_user_1dedd871)\
**Replies:** 5\
**Last updated:** [June 25, 2024, 6:53am UTC](https://forums.unrealengine.com/t/detect-drag-and-onclicked-conflict/476579 "2024-06-25T06:53:43Z")

</div>

Hello! I’m trying to implement Drag and Drop system in my Inventory, but i’ve encountered a problem - when i override OnPreviewMouseButton event and put “Detect Drag if pressed” node in there, event onClicked stops work…

---

## [How can I remove the click interval in the OnMouseButtonDown function?](https://forums.unrealengine.com/t/how-can-i-remove-the-click-interval-in-the-onmousebuttondown-function/1908725)

<div class="topic-metadata">

**Author:** [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Replies:** 0\
**Last updated:** [June 19, 2024, 8:17am UTC](https://forums.unrealengine.com/t/how-can-i-remove-the-click-interval-in-the-onmousebuttondown-function/1908725 "2024-06-19T08:17:06Z")

</div>

I’m trying to make a new button that’s a cheap replacement for the Button Widget. The structure is simple. cover the entire thing with a transparent widget set to Visible, place visual widgets inside, and execute the Ev…

---

## [HUD blueprint mouse event problem. Is it a bug, or working well??](https://forums.unrealengine.com/t/hud-blueprint-mouse-event-problem-is-it-a-bug-or-working-well/1773224)

<div class="topic-metadata">

**Author:** [@P0dol](https://forums.unrealengine.com/u/P0dol)\
**Replies:** 2\
**Last updated:** [March 27, 2024, 10:22pm UTC](https://forums.unrealengine.com/t/hud-blueprint-mouse-event-problem-is-it-a-bug-or-working-well/1773224 "2024-03-27T22:22:48Z")

</div>

Hey Everyone! I wanted to do the following: I need a button, which on pressed, spawns an actor on the mouse’s world coordinates position, then the actor follows the mouse on move, and on release, the actor stay on the …

---

## [Mouse click doesn't work well in game (you have to click two or more times in order for it to work)](https://forums.unrealengine.com/t/mouse-click-doesnt-work-well-in-game-you-have-to-click-two-or-more-times-in-order-for-it-to-work/1527569)

<div class="topic-metadata">

**Author:** [@Stefan\_9911](https://forums.unrealengine.com/u/Stefan_9911)\
**Replies:** 2\
**Last updated:** [December 15, 2023, 8:55pm UTC](https://forums.unrealengine.com/t/mouse-click-doesnt-work-well-in-game-you-have-to-click-two-or-more-times-in-order-for-it-to-work/1527569 "2023-12-15T20:55:56Z")

</div>

Hi everyone! I have a problem when clicking on 3d widgets in game. First of all I am making an app that has keyboard and mouse + touch controlls usage so I don’t know if that is making the issue. You can choose whitch o…

---

## [Error of input on value change after changing the common ui viewport](https://forums.unrealengine.com/t/error-of-input-on-value-change-after-changing-the-common-ui-viewport/1432605)

<div class="topic-metadata">

**Author:** [@Funkyalone](https://forums.unrealengine.com/u/Funkyalone)\
**Replies:** 0\
**Last updated:** [November 29, 2023, 3:59pm UTC](https://forums.unrealengine.com/t/error-of-input-on-value-change-after-changing-the-common-ui-viewport/1432605 "2023-11-29T15:59:23Z")

</div>

Hi everyone, I have this problem, on Unreal 5.1 I prepared a menu that works well, there is a slider for gamma correction that also works with both the mouse and the gamepad, but if I press the face button bottom (A) whi…

---

## [OnClicked not working in C++(works in bp)](https://forums.unrealengine.com/t/onclicked-not-working-in-c-works-in-bp/350579)

<div class="topic-metadata">

**Author:** [@bwhhy](https://forums.unrealengine.com/u/bwhhy)\
**Replies:** 9\
**Last updated:** [October 13, 2023, 4:31pm UTC](https://forums.unrealengine.com/t/onclicked-not-working-in-c-works-in-bp/350579 "2023-10-13T16:31:19Z")

</div>

Hi, I was trying to use OnClicked function to detect whether an actor is being clicked. Like this: When I click this cube, it will change its boolean variable isSelected to true. So I have a pawn class and a player…

---

## [Select an actor with mouse click and call actor's class function with UMG button c++](https://forums.unrealengine.com/t/select-an-actor-with-mouse-click-and-call-actors-class-function-with-umg-button-c/424577)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bf3d31f5](https://forums.unrealengine.com/u/anonymous_user_bf3d31f5)\
**Replies:** 12\
**Last updated:** [September 25, 2023, 7:15pm UTC](https://forums.unrealengine.com/t/select-an-actor-with-mouse-click-and-call-actors-class-function-with-umg-button-c/424577 "2023-09-25T19:15:59Z")

</div>

I’m trying to select an actor with mouse click and use UMG buttons to for example change material on selected actor. Can someone please guide the right way to implement this in C++ like how to get/save the reference of s…

---

## [(UMG) Take cursor outside window, release, take cursor back in window...](https://forums.unrealengine.com/t/umg-take-cursor-outside-window-release-take-cursor-back-in-window/404830)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4aeebc03](https://forums.unrealengine.com/u/anonymous_user_4aeebc03)\
**Replies:** 2\
**Last updated:** [September 8, 2023, 3:30am UTC](https://forums.unrealengine.com/t/umg-take-cursor-outside-window-release-take-cursor-back-in-window/404830 "2023-09-08T03:30:25Z")

</div>

Widget Blueprint OnMouseButtonDown(function) → Set a bool variable to true OnMouseButtonUp(function) → Set this bool var to false (and print) If you Click and drag your cursor outside the window and then release mouse …

---

## [Pawn Click to Move Implementation and the Floating Pawn Movement Component](https://forums.unrealengine.com/t/pawn-click-to-move-implementation-and-the-floating-pawn-movement-component/1216113)

<div class="topic-metadata">

**Author:** [@ThePDub](https://forums.unrealengine.com/u/ThePDub)\
**Replies:** 1\
**Last updated:** [July 1, 2023, 4:44pm UTC](https://forums.unrealengine.com/t/pawn-click-to-move-implementation-and-the-floating-pawn-movement-component/1216113 "2023-07-01T16:44:55Z")

</div>

Hi folks :grinning: I created a Pawn Blueprint for an idea for a game I had. I want to keep the scope small, so I wanted a static mesh to move across a plane to a clicked location on that plane. I had implemented: A c…

---

## [How can I disable mouse click for the entire game on UE5?](https://forums.unrealengine.com/t/how-can-i-disable-mouse-click-for-the-entire-game-on-ue5/795275)

<div class="topic-metadata">

**Author:** [@ethanh6165](https://forums.unrealengine.com/u/ethanh6165)\
**Replies:** 2\
**Last updated:** [March 21, 2023, 1:55am UTC](https://forums.unrealengine.com/t/how-can-i-disable-mouse-click-for-the-entire-game-on-ue5/795275 "2023-03-21T01:55:03Z")

</div>

My project is keyboard-based. Mouse inputs mess with UMG focus. My attempt is to see if disabling mouse clicks or all mouse inputs can help. But now I run into the problem of disabling it. I tried SetEnableClickEvents …

---

## [Right click menu going offscreen?](https://forums.unrealengine.com/t/right-click-menu-going-offscreen/464307)

<div class="topic-metadata">

**Author:** [@DoctorDisco25](https://forums.unrealengine.com/u/DoctorDisco25)\
**Replies:** 5\
**Last updated:** [November 17, 2022, 9:52am UTC](https://forums.unrealengine.com/t/right-click-menu-going-offscreen/464307 "2022-11-17T09:52:54Z")

</div>

When I right-click on something (namely animations and actors), half of the menu (the first thing offscreen is the duplicate button) is not visible. I tried collapsing both the content browser and UE, but neither seems t…

---

## [どうすればゲーム内でプレイヤーがテキストを入力できますか。](https://forums.unrealengine.com/t/topic/592063)

<div class="topic-metadata">

**Author:** [@111177](https://forums.unrealengine.com/u/111177)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 1:56am UTC](https://forums.unrealengine.com/t/topic/592063 "2022-06-28T01:56:41Z")

</div>

初心者です。何か失礼があったら申し訳ないです。 脱出ゲームにあるような特定のパスコード(四桁の数字)を入力したら開く扉を作ろうとしています。 仮想キーボードを作って仮想ディスプレイに数字を入力するという公式のチュートリアルを行いました。 こちらです↓ 実際完成した時の画像 ↓ 最後まで問題なく進められたのですが、いざプレイしたところ仮想キーボードをタイプしても 、ディスプレイに数字が表示されないという問題が起きてい…

---

## [How can I forbid selection text by mouse in Editable Text?](https://forums.unrealengine.com/t/how-can-i-forbid-selection-text-by-mouse-in-editable-text/475234)

<div class="topic-metadata">

**Author:** [@Shedels](https://forums.unrealengine.com/u/Shedels)\
**Replies:** 6\
**Last updated:** [April 24, 2022, 11:37pm UTC](https://forums.unrealengine.com/t/how-can-i-forbid-selection-text-by-mouse-in-editable-text/475234 "2022-04-24T23:37:52Z")

</div>

How to make sure that when changing the text in Editable Text, the cursor does not automatically move to the end of the line? For example, you click on a character in the middle of a line, delete, and the cursor runs t…

---

## [UE5 hangs every couple of seconds before or after a mouse click](https://forums.unrealengine.com/t/ue5-hangs-every-couple-of-seconds-before-or-after-a-mouse-click/490135)

<div class="topic-metadata">

**Author:** [@capprotti](https://forums.unrealengine.com/u/capprotti)\
**Replies:** 1\
**Last updated:** [April 19, 2022, 7:34am UTC](https://forums.unrealengine.com/t/ue5-hangs-every-couple-of-seconds-before-or-after-a-mouse-click/490135 "2022-04-19T07:34:52Z")

</div>

Hi, I’ve been using UE5 for a couple of weeks now building a few levels. But recently seemingly out of nowhere, UE5 will hang for a few seconds before or after an action. For example, if I click a drop down, or highli…

---

## [Make mesh unclickable just for player who can't see it](https://forums.unrealengine.com/t/make-mesh-unclickable-just-for-player-who-cant-see-it/493579)

<div class="topic-metadata">

**Author:** [@LowField1](https://forums.unrealengine.com/u/LowField1)\
**Replies:** 0\
**Last updated:** [February 3, 2022, 12:49am UTC](https://forums.unrealengine.com/t/make-mesh-unclickable-just-for-player-who-cant-see-it/493579 "2022-02-03T00:49:50Z")

</div>

Hi, i’m having trouble with click events and visiblity: in my multiplayer card game i have in the same position 2 cards, the one seen by the player (visible only by him) and the one seen just by enemy. I want the last on…

---

## [Switch material on mouse click without box collision or widget](https://forums.unrealengine.com/t/switch-material-on-mouse-click-without-box-collision-or-widget/491107)

<div class="topic-metadata">

**Author:** [@srhrs](https://forums.unrealengine.com/u/srhrs)\
**Replies:** 7\
**Last updated:** [November 21, 2021, 5:53pm UTC](https://forums.unrealengine.com/t/switch-material-on-mouse-click-without-box-collision-or-widget/491107 "2021-11-21T17:53:25Z")

</div>

Hello! I’m trying to do this and I’m not finding any related tutorials: I’m doing an interactive ArchViz just with the left mouse click. I have a line trace and what I want to do is to click on objects and change materi…

---

## [NPC to play an animation when hit](https://forums.unrealengine.com/t/npc-to-play-an-animation-when-hit/490677)

<div class="topic-metadata">

**Author:** [@Stefanivus](https://forums.unrealengine.com/u/Stefanivus)\
**Replies:** 0\
**Last updated:** [November 7, 2021, 3:50am UTC](https://forums.unrealengine.com/t/npc-to-play-an-animation-when-hit/490677 "2021-11-07T03:50:13Z")

</div>

I am trying to get an NPC to play an animation when the player character clicks the left mouse button. I created a boolean variable to be set to True when the player character hits the component once and from there on o…

---

## [Top Down Mouse click & drag to Pan - keep sensitivity consistent when zooming in or out](https://forums.unrealengine.com/t/top-down-mouse-click-drag-to-pan-keep-sensitivity-consistent-when-zooming-in-or-out/490644)

<div class="topic-metadata">

**Author:** [@DokuSouSei](https://forums.unrealengine.com/u/DokuSouSei)\
**Replies:** 0\
**Last updated:** [November 6, 2021, 1:24am UTC](https://forums.unrealengine.com/t/top-down-mouse-click-drag-to-pan-keep-sensitivity-consistent-when-zooming-in-or-out/490644 "2021-11-06T01:24:31Z")

</div>

I have click and drag mouse panning however I want to have it work similar to the UE blueprints interface. This demonstrates what I have and what I want to achieve: Top Down: Click and Drag Mouse Panning Issue - YouTube …

---

## [Linux, mouse cursor is 'afraid' of clickable areas](https://forums.unrealengine.com/t/linux-mouse-cursor-is-afraid-of-clickable-areas/490158)

<div class="topic-metadata">

**Author:** [@rolffson](https://forums.unrealengine.com/u/rolffson)\
**Replies:** 0\
**Last updated:** [October 23, 2021, 11:47am UTC](https://forums.unrealengine.com/t/linux-mouse-cursor-is-afraid-of-clickable-areas/490158 "2021-10-23T11:47:14Z")

</div>

have a project that runs fine under Win10 and MacOS. But in the Linux version (crosscompile in Win10) when run a second time under Linux, the mouse cursor “jumps down” (right under the object) when it touches objects i…

---

## [How to make Line Trace By Channel It begins at the location of the character's camera, and ends at the location of the mouse click](https://forums.unrealengine.com/t/how-to-make-line-trace-by-channel-it-begins-at-the-location-of-the-characters-camera-and-ends-at-the-location-of-the-mouse-click/489981)

<div class="topic-metadata">

**Author:** [@Alaarouda](https://forums.unrealengine.com/u/Alaarouda)\
**Replies:** 1\
**Last updated:** [October 18, 2021, 12:55pm UTC](https://forums.unrealengine.com/t/how-to-make-line-trace-by-channel-it-begins-at-the-location-of-the-characters-camera-and-ends-at-the-location-of-the-mouse-click/489981 "2021-10-18T12:55:49Z")

</div>

How to make Line Trace By Channel It begins at the location of the character’s camera, and ends at the location of the mouse click ,Knowing that the character has no movement, in a fixed place

---

## [Bubbling NativeOnMouseButtonDown from custom widget to PlayerController](https://forums.unrealengine.com/t/bubbling-nativeonmousebuttondown-from-custom-widget-to-playercontroller/489532)

<div class="topic-metadata">

**Author:** [@Nikitaenterprise](https://forums.unrealengine.com/u/Nikitaenterprise)\
**Replies:** 0\
**Last updated:** [October 5, 2021, 1:50am UTC](https://forums.unrealengine.com/t/bubbling-nativeonmousebuttondown-from-custom-widget-to-playercontroller/489532 "2021-10-05T01:50:38Z")

</div>

Hi to all of you If you create a custom widget for drawing selection rectangle and try to process mouse input (LMB for example) with NativeOnMouseButtonDown event the system will not pass information about mouse being p…

---

## [Flip Flop reverse doesn't work - double door](https://forums.unrealengine.com/t/flip-flop-reverse-doesnt-work-double-door/489099)

<div class="topic-metadata">

**Author:** [@srhrs](https://forums.unrealengine.com/u/srhrs)\
**Replies:** 12\
**Last updated:** [September 28, 2021, 6:08am UTC](https://forums.unrealengine.com/t/flip-flop-reverse-doesnt-work-double-door/489099 "2021-09-28T06:08:57Z")

</div>

Hi, I’m trying to open and close a double window with left mouse click, for an archviz. A strange thing is happening that I cannot explain to myself. I have a working double window, if I use the same code on another bl…

[Next page](https://forums.unrealengine.com/tag/mouse-click/5188.md?match_all_tags=true&page=1&tags%5B%5D=mouse-click)
