# \#mouse-event

**URL:** https://forums.unrealengine.com/tag/mouse-event/1629.md

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

---

## [How to draw a child widget "bottom" the parent widget?](https://forums.unrealengine.com/t/how-to-draw-a-child-widget-bottom-the-parent-widget/2728925)

<div class="topic-metadata">

**Author:** [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Replies:** 1\
**Last updated:** [October 9, 2026, 3:42pm UTC](https://forums.unrealengine.com/t/how-to-draw-a-child-widget-bottom-the-parent-widget/2728925 "2026-10-09T15:42:00Z")

</div>

I want to add a background behind a child widget that inherits from a button, so how to do that? Specifically, I want to set a semi-transparent mouseover visual for a button and then draw a background and text underneat…

---

## [Passing drag visuals or payloads from an external source causes lag.](https://forums.unrealengine.com/t/passing-drag-visuals-or-payloads-from-an-external-source-causes-lag/2769876)

<div class="topic-metadata">

**Author:** [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Replies:** 3\
**Last updated:** [September 23, 2026, 1:23pm UTC](https://forums.unrealengine.com/t/passing-drag-visuals-or-payloads-from-an-external-source-causes-lag/2769876 "2026-09-23T13:23:38Z")

</div>

I want to execute an event dispatcher after detecting a drag and pass an arbitrary Visual/Payload to the Operation, but doing so makes the drag operation extremely unstable. It appeared to work fine when Create Widget w…

---

## [How to drag a widget from an external input?](https://forums.unrealengine.com/t/how-to-drag-a-widget-from-an-external-input/2744607)

<div class="topic-metadata">

**Author:** [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Replies:** 1\
**Last updated:** [September 9, 2026, 11:00am UTC](https://forums.unrealengine.com/t/how-to-drag-a-widget-from-an-external-input/2744607 "2026-09-09T11:00:33Z")

</div>

For some reason, Common UI doesn’t register left-clicks, so I created a dedicated widget to detect clicks. I want to initiate a drag operation from that dedicated widget to Common UI, but even when I execute DetectDrag …

---

## [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…

---

## [How to directly execute OnDragDetected?](https://forums.unrealengine.com/t/how-to-directly-execute-ondragdetected/2745991)

<div class="topic-metadata">

**Author:** [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Replies:** 7\
**Last updated:** [August 26, 2026, 3:14am UTC](https://forums.unrealengine.com/t/how-to-directly-execute-ondragdetected/2745991 "2026-08-26T03:14:34Z")

</div>

I’m looking for an alternative because DetectDragIfPressed isn’t executing OnDragDetected at all. Please tell me how to directly execute OnDragDetected from a mouse event or a button click event.

---

## [Drag-and-drop stops working every time the editor is restarted.](https://forums.unrealengine.com/t/drag-and-drop-stops-working-every-time-the-editor-is-restarted/2745714)

<div class="topic-metadata">

**Author:** [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Replies:** 0\
**Last updated:** [August 22, 2026, 8:26am UTC](https://forums.unrealengine.com/t/drag-and-drop-stops-working-every-time-the-editor-is-restarted/2745714 "2026-08-22T08:26:19Z")

</div>

I’ve spent the last few days developing a drag-and-drop widget, but no matter what I do, it stops working every time I launch the editor. It was working perfectly until I closed the editor, but it doesn’t work when I res…

---

## [Mouse button events not working in Common UI](https://forums.unrealengine.com/t/mouse-button-events-not-working-in-common-ui/2744593)

<div class="topic-metadata">

**Author:** [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Replies:** 5\
**Last updated:** [August 20, 2026, 12:33am UTC](https://forums.unrealengine.com/t/mouse-button-events-not-working-in-common-ui/2744593 "2026-08-20T00:33:55Z")

</div>

I tried to implement a drag event using the Common Button, but mouse events are not firing, so I cannot trigger the drag operation. The button event does not fire, but the cursor event does. So, events like OnMouseMove …

---

## [Widget dragging is really unstable...](https://forums.unrealengine.com/t/widget-dragging-is-really-unstable/2571762)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 3\
**Last updated:** [July 2, 2025, 8:45am UTC](https://forums.unrealengine.com/t/widget-dragging-is-really-unstable/2571762 "2025-07-02T08:45:24Z")

</div>

Someone please help…I want to make a drag and drop UI but it barely works properly. To be precise, the drag itself works, but the mouse event to trigger it doesn’t work. I have included an image set to Visible at the t…

---

## [Mouse events "disappear"...](https://forums.unrealengine.com/t/mouse-events-disappear/2580576)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 0\
**Last updated:** [June 27, 2025, 7:28am UTC](https://forums.unrealengine.com/t/mouse-events-disappear/2580576 "2025-06-27T07:28:45Z")

</div>

When I use a branch in a mouse event, the process disappears without passing through the return node. In OnMouseMove, I’m trying to change the result depending on whether the mouse is left-clicked while moving. But the …

---

## [SWidget::OnMouseButtonUp triggers only on double click](https://forums.unrealengine.com/t/swidget-onmousebuttonup-triggers-only-on-double-click/334846)

<div class="topic-metadata">

**Author:** [@uced](https://forums.unrealengine.com/u/uced)\
**Replies:** 4\
**Last updated:** [May 22, 2025, 9:45am UTC](https://forums.unrealengine.com/t/swidget-onmousebuttonup-triggers-only-on-double-click/334846 "2025-05-22T09:45:05Z")

</div>

Hello ! The SWidget::OnMouseButtonUp seems to trigger only after a double click, not a simple one. To repro, override this function, for example: // SYagHUDWidget inherits from SCompoundWidget FReply SYagHUDWidget::On…

---

## [MouseButtonDown not working while Dragging](https://forums.unrealengine.com/t/mousebuttondown-not-working-while-dragging/2483035)

<div class="topic-metadata">

**Author:** [@Chevidal451](https://forums.unrealengine.com/u/Chevidal451)\
**Replies:** 1\
**Last updated:** [April 30, 2025, 11:20am UTC](https://forums.unrealengine.com/t/mousebuttondown-not-working-while-dragging/2483035 "2025-04-30T11:20:25Z")

</div>

Basically I want to drag a widget with left mouse button and then being able to make things with thta widget with right mouse button. Right now what I do is basically, in the event OnMouseButtonDown I called the DetectD…

---

## [Problems with Drag and Drop Operation (Visual Widget)](https://forums.unrealengine.com/t/problems-with-drag-and-drop-operation-visual-widget/2399192)

<div class="topic-metadata">

**Author:** [@Raxwell00](https://forums.unrealengine.com/u/Raxwell00)\
**Replies:** 0\
**Last updated:** [March 18, 2025, 8:47pm UTC](https://forums.unrealengine.com/t/problems-with-drag-and-drop-operation-visual-widget/2399192 "2025-03-18T20:47:35Z")

</div>

Hi! I have an inventory system and im working on a drag & drop system. So the problem is im making a system where if you drag the slot with “Right Mouse Button” you are able to split items and using mouse wheel you incre…

---

## ["Enhanced" Input Action is there a simple way......like wtf why](https://forums.unrealengine.com/t/enhanced-input-action-is-there-a-simple-way-like-wtf-why/2131970)

<div class="topic-metadata">

**Author:** [@ZanHeart](https://forums.unrealengine.com/u/ZanHeart)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 5:34am UTC](https://forums.unrealengine.com/t/enhanced-input-action-is-there-a-simple-way-like-wtf-why/2131970 "2024-11-18T05:34:43Z")

</div>

So far this “enhanced” input action is being a real pain in the ■■■ that ive just started to use the keyboard events rather than messing with the “”“enhanced”“” version. A way to learn how it works would be still a pain …

---

## [OnHover occasionally doesn't fire if mouse is moving too fast](https://forums.unrealengine.com/t/onhover-occasionally-doesnt-fire-if-mouse-is-moving-too-fast/1807170)

<div class="topic-metadata">

**Author:** [@glex](https://forums.unrealengine.com/u/glex)\
**Replies:** 3\
**Last updated:** [June 18, 2024, 6:57pm UTC](https://forums.unrealengine.com/t/onhover-occasionally-doesnt-fire-if-mouse-is-moving-too-fast/1807170 "2024-06-18T18:57:03Z")

</div>

Hello all, I am trying to make a responsive UI but for some odd reason when the mouse is moving too fast, the button’s OnHover event doesn’t get registered. I’m guessing it has something to do with how the mouse is trac…

---

## [Widget button hover works but not click](https://forums.unrealengine.com/t/widget-button-hover-works-but-not-click/473663)

<div class="topic-metadata">

**Author:** [@TheOneBobby](https://forums.unrealengine.com/u/TheOneBobby)\
**Replies:** 10\
**Last updated:** [April 29, 2024, 12:04pm UTC](https://forums.unrealengine.com/t/widget-button-hover-works-but-not-click/473663 "2024-04-29T12:04:26Z")

</div>

This is my first time making a widget and I’m trying to make a super simple one, just a button. However, when I attach the widget to an actor and try to press it, it doesn’t register any click events but it does register…

---

## [Different event handling behavior between PIE and Standalone with actor inheritance and actor components. What's the right way?](https://forums.unrealengine.com/t/different-event-handling-behavior-between-pie-and-standalone-with-actor-inheritance-and-actor-components-whats-the-right-way/1577370)

<div class="topic-metadata">

**Author:** [@jdh25501](https://forums.unrealengine.com/u/jdh25501)\
**Replies:** 1\
**Last updated:** [January 2, 2024, 5:12pm UTC](https://forums.unrealengine.com/t/different-event-handling-behavior-between-pie-and-standalone-with-actor-inheritance-and-actor-components-whats-the-right-way/1577370 "2024-01-02T17:12:33Z")

</div>

TL;DR - what’s the best way of creating common event handling logic in a parent class and combining it with specific event handling from a child class? I’ve observed different behavior based on event type and on PIE vs …

---

## [WasInputKeyJustReleased not working when widget has keyboard focus ?](https://forums.unrealengine.com/t/wasinputkeyjustreleased-not-working-when-widget-has-keyboard-focus/787693)

<div class="topic-metadata">

**Author:** [@uced](https://forums.unrealengine.com/u/uced)\
**Replies:** 1\
**Last updated:** [March 10, 2023, 12:03pm UTC](https://forums.unrealengine.com/t/wasinputkeyjustreleased-not-working-when-widget-has-keyboard-focus/787693 "2023-03-10T12:03:39Z")

</div>

Hello, I have to manually manage the focus between viewport and various widgets. I’m setting/unsetting the focus with calls like those: hoveredWidget-\>GetWidget()-\>SetKeyboardFocus(); FSlateApplication::Get().SetUse…

---

## [Bug with skipping mouse events! (UE 5.1.1)](https://forums.unrealengine.com/t/bug-with-skipping-mouse-events-ue-5-1-1/785550)

<div class="topic-metadata">

**Author:** [@Manking-1](https://forums.unrealengine.com/u/Manking-1)\
**Replies:** 0\
**Last updated:** [March 7, 2023, 11:00am UTC](https://forums.unrealengine.com/t/bug-with-skipping-mouse-events-ue-5-1-1/785550 "2023-03-07T11:00:00Z")

</div>

Hi! Mouse events, unlike keyboard events, do not work properly. Disabling the capture of the viewport mouse. And this leads to the fact that the mouse pressed event only works in 5% of cases. But released or keyboar…

---

## [How do I bubble up mouse events from clicked widgets, esp Web Browser?](https://forums.unrealengine.com/t/how-do-i-bubble-up-mouse-events-from-clicked-widgets-esp-web-browser/384937)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_baec4540](https://forums.unrealengine.com/u/anonymous_user_baec4540)\
**Replies:** 8\
**Last updated:** [March 6, 2023, 11:16am UTC](https://forums.unrealengine.com/t/how-do-i-bubble-up-mouse-events-from-clicked-widgets-esp-web-browser/384937 "2023-03-06T11:16:14Z")

</div>

I’m interested in having mouse drag and click events bubble up to my player controller, even if the cursor is over a widget that is mouse intractable. Specifically, I’d like to make it possible to do my entire UI as a W…

---

## [Get raw keydown bool status?](https://forums.unrealengine.com/t/get-raw-keydown-bool-status/778673)

<div class="topic-metadata">

**Author:** [@Manking-1](https://forums.unrealengine.com/u/Manking-1)\
**Replies:** 0\
**Last updated:** [February 26, 2023, 12:06am UTC](https://forums.unrealengine.com/t/get-raw-keydown-bool-status/778673 "2023-02-26T00:06:00Z")

</div>

Hello! How do I get the raw key down event? There is a function that determines whether Shift is pressed. IsShiftDown in UnrealClient.h Is there a similar one for mouse and keyboard events? Where can I pass the eKey…

---

## [Why OnMouseLeave called on mouse buttons click?](https://forums.unrealengine.com/t/why-onmouseleave-called-on-mouse-buttons-click/754864)

<div class="topic-metadata">

**Author:** [@Niewiar94](https://forums.unrealengine.com/u/Niewiar94)\
**Replies:** 1\
**Last updated:** [January 23, 2023, 1:28pm UTC](https://forums.unrealengine.com/t/why-onmouseleave-called-on-mouse-buttons-click/754864 "2023-01-23T13:28:39Z")

</div>

When I click on a widget, an event “OnMouseLeave” is always triggered on it. Someone can help me?

---

## [UMG - mouse over / mouse off](https://forums.unrealengine.com/t/umg-mouse-over-mouse-off/306809)

<div class="topic-metadata">

**Author:** [@evillego6](https://forums.unrealengine.com/u/evillego6)\
**Replies:** 6\
**Last updated:** [January 7, 2023, 5:21pm UTC](https://forums.unrealengine.com/t/umg-mouse-over-mouse-off/306809 "2023-01-07T17:21:48Z")

</div>

Hi all, I’m trying to implement a system in a strategy game where you can mouse over either a character or a UI element to cause an information panel to appear on the screen. Then when you’re no longer hovering over th…

---

## [Understanding how Event Reply work when using stacked UMG Widgets and mouse events](https://forums.unrealengine.com/t/understanding-how-event-reply-work-when-using-stacked-umg-widgets-and-mouse-events/318005)

<div class="topic-metadata">

**Author:** [@Onoa](https://forums.unrealengine.com/u/Onoa)\
**Replies:** 7\
**Last updated:** [July 19, 2022, 1:06pm UTC](https://forums.unrealengine.com/t/understanding-how-event-reply-work-when-using-stacked-umg-widgets-and-mouse-events/318005 "2022-07-19T13:06:50Z")

</div>

Hi, I’m trying to understand how Event Reply works. Based on what I’ve read in the documentation and on the forums, it seems that when you return a Handled reply from a mouse event, if it is handled , then the event won…

---

## [On a UMG Button, how to handle DragDrop functionality while retaining OnClicked functionality?](https://forums.unrealengine.com/t/on-a-umg-button-how-to-handle-dragdrop-functionality-while-retaining-onclicked-functionality/470375)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e49f106b](https://forums.unrealengine.com/u/anonymous_user_e49f106b)\
**Replies:** 5\
**Last updated:** [February 23, 2022, 7:38pm UTC](https://forums.unrealengine.com/t/on-a-umg-button-how-to-handle-dragdrop-functionality-while-retaining-onclicked-functionality/470375 "2022-02-23T19:38:36Z")

</div>

Using this syntax: Widget \> Child | Sibling I have a widget class to act as a CustomButton that looks like this: Overlay \> Border | Button I am using these inside another widget (I’ll call it Grid) that looks like th…

---

## [UMG(4.5preview): On Mouse Move event can't be fired when a mouse button is pressed?](https://forums.unrealengine.com/t/umg-4-5preview-on-mouse-move-event-cant-be-fired-when-a-mouse-button-is-pressed/295555)

<div class="topic-metadata">

**Author:** [@alonezhby](https://forums.unrealengine.com/u/alonezhby)\
**Replies:** 7\
**Last updated:** [November 16, 2021, 11:03pm UTC](https://forums.unrealengine.com/t/umg-4-5preview-on-mouse-move-event-cant-be-fired-when-a-mouse-button-is-pressed/295555 "2021-11-16T23:03:45Z")

</div>

Hi, I implemented the On Mouse Move function in widget blueprint, but if a mouse button is pressed, this event can’t be fired. But I need it be still firing if a mouse button is pressed. My purpose is when I press a mou…

---

## [Trying to run "Cursor over event" in particle system](https://forums.unrealengine.com/t/trying-to-run-cursor-over-event-in-particle-system/487353)

<div class="topic-metadata">

**Author:** [@Boloto](https://forums.unrealengine.com/u/Boloto)\
**Replies:** 0\
**Last updated:** [August 12, 2021, 8:15am UTC](https://forums.unrealengine.com/t/trying-to-run-cursor-over-event-in-particle-system/487353 "2021-08-12T08:15:46Z")

</div>

I want to create simple thing. When cursor passes over the actor, in the corner a sign appears with information about him, like this (cursor on cube). But when I try to doing same for particle system nothing happens…

---

## [Slate OnMouseLeave event triggered on mouse zero coordinates](https://forums.unrealengine.com/t/slate-onmouseleave-event-triggered-on-mouse-zero-coordinates/416699)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_60aa5386](https://forums.unrealengine.com/u/anonymous_user_60aa5386)\
**Replies:** 1\
**Last updated:** [June 6, 2021, 6:24pm UTC](https://forums.unrealengine.com/t/slate-onmouseleave-event-triggered-on-mouse-zero-coordinates/416699 "2021-06-06T18:24:46Z")

</div>

Hi, the problem is that SCompoundWidget triggering OnMouseLeave event when mouse touches top or left sides of the viewport, but still in the viewport. Please, help me fix that. Here is a code of widget: STest.h: clas…

---

## [UMG Interrupts KeyPress Events on Mouse Event](https://forums.unrealengine.com/t/umg-interrupts-keypress-events-on-mouse-event/323076)

<div class="topic-metadata">

**Author:** [@Zeetu](https://forums.unrealengine.com/u/Zeetu)\
**Replies:** 2\
**Last updated:** [May 8, 2021, 1:39pm UTC](https://forums.unrealengine.com/t/umg-interrupts-keypress-events-on-mouse-event/323076 "2021-05-08T13:39:42Z")

</div>

Goal: Let users shift drag items in inventory to split it. Bug: First time after making inventory panel visible mouse click events will interrupt the Shift modifier. Second time works fine. It looks like when a UniformG…

---

## [Mouse over event is not firing behind invisible actor](https://forums.unrealengine.com/t/mouse-over-event-is-not-firing-behind-invisible-actor/476751)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_500d58cc](https://forums.unrealengine.com/u/anonymous_user_500d58cc)\
**Replies:** 2\
**Last updated:** [January 5, 2021, 4:59am UTC](https://forums.unrealengine.com/t/mouse-over-event-is-not-firing-behind-invisible-actor/476751 "2021-01-05T04:59:11Z")

</div>

I’ve tried to fire mouse-over-event for an object, but it was not worked. I checked why, and then find it caused by an invisible actor. There are a lot of pipelines that need to be fired mouse-over-event, but many of …

---

## [Billboard mouse events possible to use?](https://forums.unrealengine.com/t/billboard-mouse-events-possible-to-use/279189)

<div class="topic-metadata">

**Author:** [@Projekt2501](https://forums.unrealengine.com/u/Projekt2501)\
**Replies:** 4\
**Last updated:** [October 29, 2020, 3:09am UTC](https://forums.unrealengine.com/t/billboard-mouse-events-possible-to-use/279189 "2020-10-29T03:09:49Z")

</div>

Hi, is it possible reacting to mouse (over/clicked/pressed/…) events for billboards or material billboards using blueprints? I would like to use it as some sort of context based upgrade menu for objects under the mouse…

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