# UI

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/ui/136.md?page=74

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

**Page:** 75

---

## [How to use gamepad like a mouse](https://forums.unrealengine.com/t/how-to-use-gamepad-like-a-mouse/413821)

<div class="topic-metadata">

**Author:** [@Mr.K4NG4R00](https://forums.unrealengine.com/u/Mr.K4NG4R00)\
**Replies:** 2\
**Last updated:** [January 14, 2024, 6:13am UTC](https://forums.unrealengine.com/t/how-to-use-gamepad-like-a-mouse/413821 "2024-01-14T06:13:20Z")

</div>

Does anyone know how to use the gamepad as a mouse, in the game? Left Thumbstick Axis as Mouse Axis Left Face Button as Mouse Click (Left Mouse Button) Like in Destiny. I am able to move the Cursour wit the Thumbstic…

---

## [How do I apply a scale box scaling to non-full screen UMG widgets?](https://forums.unrealengine.com/t/how-do-i-apply-a-scale-box-scaling-to-non-full-screen-umg-widgets/1611369)

<div class="topic-metadata">

**Author:** [@JasonKorda](https://forums.unrealengine.com/u/JasonKorda)\
**Replies:** 0\
**Last updated:** [January 13, 2024, 3:34pm UTC](https://forums.unrealengine.com/t/how-do-i-apply-a-scale-box-scaling-to-non-full-screen-umg-widgets/1611369 "2024-01-13T15:34:45Z")

</div>

Hello! I just found out about what scale boxes do while trying different screen resolutions on my project and got to test and use them the way I intended but the inventory widget is causing me some trouble. When a playe…

---

## [UI moving when Hiding and Showing](https://forums.unrealengine.com/t/ui-moving-when-hiding-and-showing/1607527)

<div class="topic-metadata">

**Author:** [@Berkay\_btw](https://forums.unrealengine.com/u/Berkay_btw)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/ui-moving-when-hiding-and-showing/1607527 "2024-01-12T14:08:07Z")

</div>

As you can see on the images the UI moves into a weird position when hiding and showing the UI again. I don’t know why and would appreciate some help!

---

## [On drag detected widget is constantly off center of the screen and not on mouse position](https://forums.unrealengine.com/t/on-drag-detected-widget-is-constantly-off-center-of-the-screen-and-not-on-mouse-position/1608427)

<div class="topic-metadata">

**Author:** [@ripchan](https://forums.unrealengine.com/u/ripchan)\
**Replies:** 14\
**Last updated:** [January 12, 2024, 12:42pm UTC](https://forums.unrealengine.com/t/on-drag-detected-widget-is-constantly-off-center-of-the-screen-and-not-on-mouse-position/1608427 "2024-01-12T12:42:12Z")

</div>

Hey so I have a issue where I am trying to just drag a icon from one inventory slot to another but everytime I drag the icon it pulls it from the far left side of the screen as shown in this gif - Screen capture - 9b4eaf…

---

## [How to show/hide Widget](https://forums.unrealengine.com/t/how-to-show-hide-widget/428911)

<div class="topic-metadata">

**Author:** [@seifmagdi](https://forums.unrealengine.com/u/seifmagdi)\
**Replies:** 4\
**Last updated:** [January 12, 2024, 12:07am UTC](https://forums.unrealengine.com/t/how-to-show-hide-widget/428911 "2024-01-12T00:07:06Z")

</div>

Hello my friends. I’m having this problem and I don’t know exactly how to fix it. I want to script in the Level Blueprint so when I press Q I toggle to show/hide the Counter for the stuff you have collected. Also I have…

---

## [UImage-\>SetBrushSize doesn't work anymore in UE5 (was ok in UE4)](https://forums.unrealengine.com/t/uimage-setbrushsize-doesnt-work-anymore-in-ue5-was-ok-in-ue4/1577131)

<div class="topic-metadata">

**Author:** [@Talad](https://forums.unrealengine.com/u/Talad)\
**Replies:** 2\
**Last updated:** [January 11, 2024, 4:45pm UTC](https://forums.unrealengine.com/t/uimage-setbrushsize-doesnt-work-anymore-in-ue5-was-ok-in-ue4/1577131 "2024-01-11T16:45:51Z")

</div>

Hi, I had a game in UE4 which was dynamically creating tiles for a gameboard using UImage and SetBrushSize to set the size of the tile. But it’s not working anymore in UE5. I see the function is deprecated: UE\_DEPREC…

---

## [how to change widget variable in actor blueprint?](https://forums.unrealengine.com/t/how-to-change-widget-variable-in-actor-blueprint/1606552)

<div class="topic-metadata">

**Author:** [@Mohsenth](https://forums.unrealengine.com/u/Mohsenth)\
**Replies:** 1\
**Last updated:** [January 11, 2024, 2:32pm UTC](https://forums.unrealengine.com/t/how-to-change-widget-variable-in-actor-blueprint/1606552 "2024-01-11T14:32:10Z")

</div>

hello, i built a door that uses passcode to open. it works like this: when you go inside door collision box, a widget shows up to put code in it. if the code is correct door will open. i have to set the right code in wid…

---

## [Why is there not a button to reset factory defaults in the Project Settings for noobs like me?](https://forums.unrealengine.com/t/why-is-there-not-a-button-to-reset-factory-defaults-in-the-project-settings-for-noobs-like-me/1601042)

<div class="topic-metadata">

**Author:** [@ProfessorCollett](https://forums.unrealengine.com/u/ProfessorCollett)\
**Replies:** 9\
**Last updated:** [January 10, 2024, 9:16pm UTC](https://forums.unrealengine.com/t/why-is-there-not-a-button-to-reset-factory-defaults-in-the-project-settings-for-noobs-like-me/1601042 "2024-01-10T21:16:45Z")

</div>

I just DESTROYED a project because I can’t undo whatever checkbox in the Project Settings.

---

## [UMG Scrollbox animates only after mouse scroll input](https://forums.unrealengine.com/t/umg-scrollbox-animates-only-after-mouse-scroll-input/465707)

<div class="topic-metadata">

**Author:** [@Duddee](https://forums.unrealengine.com/u/Duddee)\
**Replies:** 4\
**Last updated:** [January 10, 2024, 5:09pm UTC](https://forums.unrealengine.com/t/umg-scrollbox-animates-only-after-mouse-scroll-input/465707 "2024-01-10T17:09:40Z")

</div>

Noticed an odd behavior with the scrollbox in widgets. Even though the scrollbox is set to animate scroll, when manually setting the scrollbox offset in blueprints (using a button), it will snap to the new offset, not sw…

---

## [Why do the 2D Textures look so different?](https://forums.unrealengine.com/t/why-do-the-2d-textures-look-so-different/1603656)

<div class="topic-metadata">

**Author:** [@DarkTerritory](https://forums.unrealengine.com/u/DarkTerritory)\
**Replies:** 8\
**Last updated:** [January 10, 2024, 10:08am UTC](https://forums.unrealengine.com/t/why-do-the-2d-textures-look-so-different/1603656 "2024-01-10T10:08:43Z")

</div>

The texture in file is different than the original texture. Below of the screenshot is the disorted texture. The original texture in the middle of the screenshot looks fine. The texture below is used instead of the origi…

---

## [CommonUI Back button no longer works when Get Desired Focus Target override is used](https://forums.unrealengine.com/t/commonui-back-button-no-longer-works-when-get-desired-focus-target-override-is-used/1603466)

<div class="topic-metadata">

**Author:** [@zebkicks](https://forums.unrealengine.com/u/zebkicks)\
**Replies:** 0\
**Last updated:** [January 10, 2024, 4:17am UTC](https://forums.unrealengine.com/t/commonui-back-button-no-longer-works-when-get-desired-focus-target-override-is-used/1603466 "2024-01-10T04:17:44Z")

</div>

I have implemented Commoniu, and everything seems to be working flawlessly…except one smaaaaaallll detail that I can’t figure out. If I override the desired focus target on activation (or even just set focus to a button …

---

## [im trying to make the mouse follow a button that is Focus](https://forums.unrealengine.com/t/im-trying-to-make-the-mouse-follow-a-button-that-is-focus/1603302)

<div class="topic-metadata">

**Author:** [@DragonVsKira](https://forums.unrealengine.com/u/DragonVsKira)\
**Replies:** 0\
**Last updated:** [January 10, 2024, 2:38am UTC](https://forums.unrealengine.com/t/im-trying-to-make-the-mouse-follow-a-button-that-is-focus/1603302 "2024-01-10T02:38:48Z")

</div>

i need some help please and thanks u im trying to make the mouse follow a button that is Focus im setting it up for pc/gamepad im some what new to ue5 i try google it but only can find tut for widget follow mouse ps tha…

---

## [Grid panel's "Remove Child" seems broken?](https://forums.unrealengine.com/t/grid-panels-remove-child-seems-broken/442241)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ca30ab71](https://forums.unrealengine.com/u/anonymous_user_ca30ab71)\
**Replies:** 5\
**Last updated:** [January 9, 2024, 9:20pm UTC](https://forums.unrealengine.com/t/grid-panels-remove-child-seems-broken/442241 "2024-01-09T21:20:20Z")

</div>

Hello, I’m implementing an inventory system. I have a widget blueprint WBP\_Inventory, which has a grid panel. The grid panel holds and aligns a kind of widget blueprint WBP\_Item. When an item is added, a corresponding WB…

---

## [Get UMG Widget under mouse cursor.](https://forums.unrealengine.com/t/get-umg-widget-under-mouse-cursor/358488)

<div class="topic-metadata">

**Author:** [@Rainbowdash](https://forums.unrealengine.com/u/Rainbowdash)\
**Replies:** 4\
**Last updated:** [January 9, 2024, 3:54pm UTC](https://forums.unrealengine.com/t/get-umg-widget-under-mouse-cursor/358488 "2024-01-09T15:54:25Z")

</div>

Hi, im Currently trying to Get the UMG widget under the mouse cursor, with the old HUD i used functions like this GetHUD()-\>GetHitBoxAtCoordinates(ScreenPosition, true) is there any similar way or Strategy to get …

---

## [Problem with Common UI ActionBar](https://forums.unrealengine.com/t/problem-with-common-ui-actionbar/1601295)

<div class="topic-metadata">

**Author:** [@jarcykd](https://forums.unrealengine.com/u/jarcykd)\
**Replies:** 0\
**Last updated:** [January 9, 2024, 9:25am UTC](https://forums.unrealengine.com/t/problem-with-common-ui-actionbar/1601295 "2024-01-09T09:25:19Z")

</div>

Hi, I went through scarse documentation on CommonUI and I can’t get the action bar to work properly. The best thing I got was ActionBar displaying empty buttons. Can anyone explain to me what I am suposed to do to make…

---

## [\[UMG\]\[C++\] Load Image Async](https://forums.unrealengine.com/t/umg-c-load-image-async/387641)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_be52c2a7](https://forums.unrealengine.com/u/anonymous_user_be52c2a7)\
**Replies:** 4\
**Last updated:** [January 8, 2024, 2:12pm UTC](https://forums.unrealengine.com/t/umg-c-load-image-async/387641 "2024-01-08T14:12:41Z")

</div>

hi, I’d like to load images/textures async, everything is being loaded correctly, I just don’t know how to cast the loaded UObject to UTexture2D so I can assign it to a FSlateBrush and then the slate brush to a UBorder i…

---

## [Tutorial series for serious Widget UI design?](https://forums.unrealengine.com/t/tutorial-series-for-serious-widget-ui-design/463591)

<div class="topic-metadata">

**Author:** [@unrealootin](https://forums.unrealengine.com/u/unrealootin)\
**Replies:** 4\
**Last updated:** [January 8, 2024, 12:49pm UTC](https://forums.unrealengine.com/t/tutorial-series-for-serious-widget-ui-design/463591 "2024-01-08T12:49:59Z")

</div>

Hi everyone. Is there a tutorial series that can explain how complex UI system is created with Widgets. I am talking: Menus that would be used in AAA games. Animated elements (like particles and transition not ju…

---

## [UMG: Dynamically change font depending on locale?](https://forums.unrealengine.com/t/umg-dynamically-change-font-depending-on-locale/1598540)

<div class="topic-metadata">

**Author:** [@KE1T5](https://forums.unrealengine.com/u/KE1T5)\
**Replies:** 1\
**Last updated:** [January 8, 2024, 7:02am UTC](https://forums.unrealengine.com/t/umg-dynamically-change-font-depending-on-locale/1598540 "2024-01-08T07:02:31Z")

</div>

Is there a way to dynamically change the font of a text on UMG depending on the current locale? I see no “bind” button next to the font, so would I have to do it from the graph editor? Thanks!

---

## [\[C++\] Null "Canvas" in the BeginPlay()](https://forums.unrealengine.com/t/c-null-canvas-in-the-beginplay/306599)

<div class="topic-metadata">

**Author:** [@Hob](https://forums.unrealengine.com/u/Hob)\
**Replies:** 3\
**Last updated:** [January 7, 2024, 1:35pm UTC](https://forums.unrealengine.com/t/c-null-canvas-in-the-beginplay/306599 "2024-01-07T13:35:13Z")

</div>

I’m trying to create a small UI and I’m trying to extract the Canvas-\>SizeX information from the Canvas member present in the base HUD class that my own class derives from. In my test project, there’s absolutely no prob…

---

## [Set mouse position to button position?](https://forums.unrealengine.com/t/set-mouse-position-to-button-position/440522)

<div class="topic-metadata">

**Author:** [@Marcus-Universe](https://forums.unrealengine.com/u/Marcus-Universe)\
**Replies:** 1\
**Last updated:** [January 7, 2024, 9:25am UTC](https://forums.unrealengine.com/t/set-mouse-position-to-button-position/440522 "2024-01-07T09:25:40Z")

</div>

I want to control my Widget with my Controller. I use pictures as button style. Since there are many buttons, I would like the mouse position on the focus button is set. I made a array of all buttons and I checked where…

---

## [Has OverrideNativeName completely deprecated from UE5 Preview?](https://forums.unrealengine.com/t/has-overridenativename-completely-deprecated-from-ue5-preview/505828)

<div class="topic-metadata">

**Author:** [@sangwon.park](https://forums.unrealengine.com/u/sangwon.park)\
**Replies:** 4\
**Last updated:** [January 7, 2024, 7:30am UTC](https://forums.unrealengine.com/t/has-overridenativename-completely-deprecated-from-ue5-preview/505828 "2024-01-07T07:30:00Z")

</div>

I was using this for UI binding in the following way. UPROPERTY(meta = (BindWidgetOptional, OverrideNativeName = "Test")) UWidget\* TestWidget; Looking at the code of UE5 Preview, it was confirmed that OverrideNativeNam…

---

## [My event graph seems to be skipping sections, but not always.](https://forums.unrealengine.com/t/my-event-graph-seems-to-be-skipping-sections-but-not-always/1591683)

<div class="topic-metadata">

**Author:** [@Sealablebear](https://forums.unrealengine.com/u/Sealablebear)\
**Replies:** 3\
**Last updated:** [January 6, 2024, 10:06pm UTC](https://forums.unrealengine.com/t/my-event-graph-seems-to-be-skipping-sections-but-not-always/1591683 "2024-01-06T22:06:52Z")

</div>

I currently have a blueprint for an NPC that is meant to branch between a set set of dialogue lines depending on which item the player is holding when they overlap. Then, once that dialogue is finished, a custom event ru…

---

## [Lyra In-Game Settings](https://forums.unrealengine.com/t/lyra-in-game-settings/519547)

<div class="topic-metadata">

**Author:** [@ControllerArmy](https://forums.unrealengine.com/u/ControllerArmy)\
**Replies:** 7\
**Last updated:** [January 6, 2024, 9:31pm UTC](https://forums.unrealengine.com/t/lyra-in-game-settings/519547 "2024-01-06T21:31:31Z")

</div>

Does anybody knows how the Lyra settings work. I want to learn how they work and understand why it works like it does. Whenever I load up the game the settings are fully fleshed out, but whenever I find anything settings…

---

## [Widget leaves behind duplicate ghost when animation plays](https://forums.unrealengine.com/t/widget-leaves-behind-duplicate-ghost-when-animation-plays/395866)

<div class="topic-metadata">

**Author:** [@ScRuFFnuF](https://forums.unrealengine.com/u/ScRuFFnuF)\
**Replies:** 10\
**Last updated:** [January 6, 2024, 10:09am UTC](https://forums.unrealengine.com/t/widget-leaves-behind-duplicate-ghost-when-animation-plays/395866 "2024-01-06T10:09:10Z")

</div>

Hello, I have searched the forums and could not find a solution for this. I might be missing something simple but for the love of me I cant seem to figure this one out. Using a normal border with transparency I animate…

---

## [Se buguea el juego en el cuando uno entra al umbral de los muertos, para PC](https://forums.unrealengine.com/t/se-buguea-el-juego-en-el-cuando-uno-entra-al-umbral-de-los-muertos-para-pc/1591310)

<div class="topic-metadata">

**Author:** [@jusbarama](https://forums.unrealengine.com/u/jusbarama)\
**Replies:** 0\
**Last updated:** [January 5, 2024, 8:47pm UTC](https://forums.unrealengine.com/t/se-buguea-el-juego-en-el-cuando-uno-entra-al-umbral-de-los-muertos-para-pc/1591310 "2024-01-05T20:47:49Z")

</div>

No me permite pegarle a un jefe cuando me mata y no puedo aprovechar la segunda vida para pelear y se me complica porque solo le puedo pegarle a menos que sea con flechas

---

## [I want to add a .mp4 as a video overlay. How?](https://forums.unrealengine.com/t/i-want-to-add-a-mp4-as-a-video-overlay-how/1585954)

<div class="topic-metadata">

**Author:** [@SmartFridge369](https://forums.unrealengine.com/u/SmartFridge369)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 11:06pm UTC](https://forums.unrealengine.com/t/i-want-to-add-a-mp4-as-a-video-overlay-how/1585954 "2024-01-03T23:06:15Z")

</div>

Hi, I’m currently playing around with UI and want to add a video filter to the player camera. I have an mp4 file that I want to use. Are there layer filters/overlays like in Photoshop/Premiere? If so I would really appre…

---

## [How to disable the navigation for widgets ? (Blueprints)](https://forums.unrealengine.com/t/how-to-disable-the-navigation-for-widgets-blueprints/1583703)

<div class="topic-metadata">

**Author:** [@MertcanWasTaken](https://forums.unrealengine.com/u/MertcanWasTaken)\
**Replies:** 1\
**Last updated:** [January 3, 2024, 10:20pm UTC](https://forums.unrealengine.com/t/how-to-disable-the-navigation-for-widgets-blueprints/1583703 "2024-01-03T22:20:49Z")

</div>

Hello everyone, I’ve created an Inventory System. And I want to open and close it with “tab” key but I’am having problem because of Navigation thing on widgets. I couldn’t find a way to turn it off with blueprint coding.…

---

## [How to have an Image fill Height while growing in Width in a UMG Panel?](https://forums.unrealengine.com/t/how-to-have-an-image-fill-height-while-growing-in-width-in-a-umg-panel/1581010)

<div class="topic-metadata">

**Author:** [@Sulfiron](https://forums.unrealengine.com/u/Sulfiron)\
**Replies:** 3\
**Last updated:** [January 3, 2024, 9:56pm UTC](https://forums.unrealengine.com/t/how-to-have-an-image-fill-height-while-growing-in-width-in-a-umg-panel/1581010 "2024-01-03T21:56:43Z")

</div>

In a UMG Widget I have a HorizontalBox containing an Image to the left and another Panel with a buch of Widgets in it to the right. I want that image to fill the full height of its parent while scaling the width so it ke…

---

## [Change NPC animation on UI button click](https://forums.unrealengine.com/t/change-npc-animation-on-ui-button-click/1581656)

<div class="topic-metadata">

**Author:** [@Tetyana](https://forums.unrealengine.com/u/Tetyana)\
**Replies:** 0\
**Last updated:** [January 2, 2024, 12:30pm UTC](https://forums.unrealengine.com/t/change-npc-animation-on-ui-button-click/1581656 "2024-01-02T12:30:16Z")

</div>

Hello, I have a problem. I have a widget with 3 Anim buttons: Anim1, Anim2, Anim3 and 3 different animations, I need the NPC play certain animation when pressing on each button. Also transitions between the animations m…

---

## [How to deactivate the mouse when a gamepad is being used?](https://forums.unrealengine.com/t/how-to-deactivate-the-mouse-when-a-gamepad-is-being-used/458250)

<div class="topic-metadata">

**Author:** [@bathorysthroat](https://forums.unrealengine.com/u/bathorysthroat)\
**Replies:** 1\
**Last updated:** [January 2, 2024, 11:32am UTC](https://forums.unrealengine.com/t/how-to-deactivate-the-mouse-when-a-gamepad-is-being-used/458250 "2024-01-02T11:32:37Z")

</div>

Hi, I’ve been working on navigating UI menus with a gamepad (Xbox controller). In my start menu, before the game begins, I want to hide the mouse and disable any hover-over events. The thing is I set an On Key Down to ch…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ui/136.md?page=73)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ui/136.md?page=75)
