# UI

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

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

**Page:** 74

---

## [Is there any way I could listen to an event when UWidget(s) are added or removed from their UPanelWidget slots?](https://forums.unrealengine.com/t/is-there-any-way-i-could-listen-to-an-event-when-uwidget-s-are-added-or-removed-from-their-upanelwidget-slots/1643051)

<div class="topic-metadata">

**Author:** [@Omar\_Nader](https://forums.unrealengine.com/u/Omar_Nader)\
**Replies:** 0\
**Last updated:** [January 26, 2024, 4:07am UTC](https://forums.unrealengine.com/t/is-there-any-way-i-could-listen-to-an-event-when-uwidget-s-are-added-or-removed-from-their-upanelwidget-slots/1643051 "2024-01-26T04:07:00Z")

</div>

I’ve been struggling with this for more than 6 months, and it looks like there’s no native solution I could utilise to solve this problem. :disappointed: so basically I’m working on a project that has pre-programmed and…

---

## [How to make back handler work, using "Common UI" plugin tutorial](https://forums.unrealengine.com/t/how-to-make-back-handler-work-using-common-ui-plugin-tutorial/1642275)

<div class="topic-metadata">

**Author:** [@spartanstas](https://forums.unrealengine.com/u/spartanstas)\
**Replies:** 0\
**Last updated:** [January 25, 2024, 8:18pm UTC](https://forums.unrealengine.com/t/how-to-make-back-handler-work-using-common-ui-plugin-tutorial/1642275 "2024-01-25T20:18:59Z")

</div>

Because it was actually hard to figure out why the BackHandler doesn’t work in Common UI plugin I decided to store all the information that we found and that helped us to make it work Widget that has common activatabl…

---

## [Toggle 3D widget visibility with button ](https://forums.unrealengine.com/t/toggle-3d-widget-visibility-with-button/1641719)

<div class="topic-metadata">

**Author:** [@JNS-MAT](https://forums.unrealengine.com/u/JNS-MAT)\
**Replies:** 2\
**Last updated:** [January 25, 2024, 5:29pm UTC](https://forums.unrealengine.com/t/toggle-3d-widget-visibility-with-button/1641719 "2024-01-25T17:29:34Z")

</div>

Hello! I’m still quite new to UE, but I’m trying to create simple pop-up information boxes attached to a physical point for a VR game. I can get the popup to open and close when clicking on the point marker (in this case…

---

## [Any way to know the on screen location of a drag and drop operation?](https://forums.unrealengine.com/t/any-way-to-know-the-on-screen-location-of-a-drag-and-drop-operation/612581)

<div class="topic-metadata">

**Author:** [@Flame](https://forums.unrealengine.com/u/Flame)\
**Replies:** 3\
**Last updated:** [January 25, 2024, 5:15pm UTC](https://forums.unrealengine.com/t/any-way-to-know-the-on-screen-location-of-a-drag-and-drop-operation/612581 "2024-01-25T17:15:58Z")

</div>

any way to know the on screen location of a drag and drop operation? this is for dragging and dropping an item from inventory to the world, i got everything working except highlighting the actor in the world we are movin…

---

## [Best Practices: UI Scaling/Resolution and Creating UI Icons](https://forums.unrealengine.com/t/best-practices-ui-scaling-resolution-and-creating-ui-icons/1640193)

<div class="topic-metadata">

**Author:** [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Replies:** 1\
**Last updated:** [January 25, 2024, 4:31am UTC](https://forums.unrealengine.com/t/best-practices-ui-scaling-resolution-and-creating-ui-icons/1640193 "2024-01-25T04:31:34Z")

</div>

I am new to UMG in Unreal Engine and Using UE 5.3 and was looking forfeedback on best practices and optimization for creating scalable UI’s and UI Icons/Graphics. I found these resources in another post: These are gr…

---

## [Is it somehow possible to add little Icons into (UMG) Text?](https://forums.unrealengine.com/t/is-it-somehow-possible-to-add-little-icons-into-umg-text/359034)

<div class="topic-metadata">

**Author:** [@Blue669](https://forums.unrealengine.com/u/Blue669)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 9:57pm UTC](https://forums.unrealengine.com/t/is-it-somehow-possible-to-add-little-icons-into-umg-text/359034 "2024-01-24T21:57:00Z")

</div>

I was playing a game the other day and in the description texts there were icons for resources, items and characters that were pretty cool and handy in my opinion. I am wondering if something like that can be inserted in…

---

## [How do I stop moving after I attack?](https://forums.unrealengine.com/t/how-do-i-stop-moving-after-i-attack/361246)

<div class="topic-metadata">

**Author:** [@jakedubs](https://forums.unrealengine.com/u/jakedubs)\
**Replies:** 6\
**Last updated:** [January 24, 2024, 2:35pm UTC](https://forums.unrealengine.com/t/how-do-i-stop-moving-after-i-attack/361246 "2024-01-24T14:35:26Z")

</div>

Ok so I have a button that when I press it, I want it to attack, stop moving, and then allow movement again. However, when I press this button continuously, it will create unwanted slides. Anyone know how I can fix this? …

---

## [How to collapse all widgets except one?](https://forums.unrealengine.com/t/how-to-collapse-all-widgets-except-one/448839)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2b4f4e441](https://forums.unrealengine.com/u/anonymous_user_2b4f4e441)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 6:10am UTC](https://forums.unrealengine.com/t/how-to-collapse-all-widgets-except-one/448839 "2024-01-24T06:10:27Z")

</div>

Hi all, I’m new to blueprints and have a question that’s probably super easy to answer, but I can’t for the life of me. I’m making an accordion style menu that has a vertical scroll box containing a number of dynamical…

---

## [Stop scroll box from scrolling when scrolling a combo box widget](https://forums.unrealengine.com/t/stop-scroll-box-from-scrolling-when-scrolling-a-combo-box-widget/1638475)

<div class="topic-metadata">

**Author:** [@xexaaron2](https://forums.unrealengine.com/u/xexaaron2)\
**Replies:** 0\
**Last updated:** [January 24, 2024, 5:48am UTC](https://forums.unrealengine.com/t/stop-scroll-box-from-scrolling-when-scrolling-a-combo-box-widget/1638475 "2024-01-24T05:48:17Z")

</div>

I have setup a ScrollBox widget inside my SettingsMenu widget and i have a few containers inside the scrollbox that contain another widget which contains a combobox. When scrolling these combo boxes on smaller window siz…

---

## [How do i save and load the button state ?](https://forums.unrealengine.com/t/how-do-i-save-and-load-the-button-state/1636515)

<div class="topic-metadata">

**Author:** [@24RaPGoD](https://forums.unrealengine.com/u/24RaPGoD)\
**Replies:** 1\
**Last updated:** [January 23, 2024, 12:53pm UTC](https://forums.unrealengine.com/t/how-do-i-save-and-load-the-button-state/1636515 "2024-01-23T12:53:26Z")

</div>

when a button is pressed other button is disabled, I want to save the button state and when I load back it should be disabled and vice versa.

---

## [UMG: Event Construct called every time widget is added to viewport](https://forums.unrealengine.com/t/umg-event-construct-called-every-time-widget-is-added-to-viewport/297422)

<div class="topic-metadata">

**Author:** [@BaronPumpky\_1](https://forums.unrealengine.com/u/BaronPumpky_1)\
**Replies:** 13\
**Last updated:** [January 23, 2024, 12:23pm UTC](https://forums.unrealengine.com/t/umg-event-construct-called-every-time-widget-is-added-to-viewport/297422 "2024-01-23T12:23:09Z")

</div>

It appears as though the Construct event for a widget is being fired every time the widget is added to the viewport, not just once when it is constructed. Is this a bug, or is this intentional? It seems like it would be …

---

## [Help needed - Using scroll wheel to select inventory items BLUEPRINTS](https://forums.unrealengine.com/t/help-needed-using-scroll-wheel-to-select-inventory-items-blueprints/1635596)

<div class="topic-metadata">

**Author:** [@bethanypw](https://forums.unrealengine.com/u/bethanypw)\
**Replies:** 0\
**Last updated:** [January 23, 2024, 12:45am UTC](https://forums.unrealengine.com/t/help-needed-using-scroll-wheel-to-select-inventory-items-blueprints/1635596 "2024-01-23T00:45:28Z")

</div>

Was wondering if anyone can point me in the right direction. I have an inventory system with an array (used Ryan Laley’s UE5 tutorial, edited it a bit for my purposes). Currently, I can pick up items and it records tha…

---

## [Reference will be nullptred for UMG object](https://forums.unrealengine.com/t/reference-will-be-nullptred-for-umg-object/1635333)

<div class="topic-metadata">

**Author:** [@GhostTheVoid](https://forums.unrealengine.com/u/GhostTheVoid)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 10:28pm UTC](https://forums.unrealengine.com/t/reference-will-be-nullptred-for-umg-object/1635333 "2024-01-22T22:28:31Z")

</div>

Whenever i close and reopen the editor, I get this error for all of my UMG buttons in my character selector. I set a button in the editor to reference the button beside it LogProperty: Warning: Serialized Class /Script…

---

## [Sentence color change](https://forums.unrealengine.com/t/sentence-color-change/1634409)

<div class="topic-metadata">

**Author:** [@CrxnkYe](https://forums.unrealengine.com/u/CrxnkYe)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 3:30pm UTC](https://forums.unrealengine.com/t/sentence-color-change/1634409 "2024-01-22T15:30:48Z")

</div>

So I have made a widget for my dialogue system and I’ve made the letters appear one by one. The problem is that I want two words to be light blue color. I made the rich text block and all the stuff needed but because the…

---

## [Dynamic Vignette](https://forums.unrealengine.com/t/dynamic-vignette/1633437)

<div class="topic-metadata">

**Author:** [@rewhakki](https://forums.unrealengine.com/u/rewhakki)\
**Replies:** 1\
**Last updated:** [January 22, 2024, 7:35am UTC](https://forums.unrealengine.com/t/dynamic-vignette/1633437 "2024-01-22T07:35:11Z")

</div>

Hello! I have a question. How to make a dynamic vignette that will appear smoothly, like when crouching in the game Dishonored?

---

## [Instancing interface to TScriptInterface property](https://forums.unrealengine.com/t/instancing-interface-to-tscriptinterface-property/359013)

<div class="topic-metadata">

**Author:** [@GPSProlapse](https://forums.unrealengine.com/u/GPSProlapse)\
**Replies:** 9\
**Last updated:** [January 21, 2024, 5:13pm UTC](https://forums.unrealengine.com/t/instancing-interface-to-tscriptinterface-property/359013 "2024-01-21T17:13:15Z")

</div>

I have two properties: UPROPERTY() TScriptInterface\<ICoordinateSystem\> CoordinateSystem; UPROPERTY(EditAnywhere) TSubclassOf\<UCoordinateSystem\> CoordinateSystemType; How can I instantiate CoordinateSystemType to Coo…

---

## [How to change different images via a button](https://forums.unrealengine.com/t/how-to-change-different-images-via-a-button/1608850)

<div class="topic-metadata">

**Author:** [@Gium\_23](https://forums.unrealengine.com/u/Gium_23)\
**Replies:** 12\
**Last updated:** [January 20, 2024, 3:48pm UTC](https://forums.unrealengine.com/t/how-to-change-different-images-via-a-button/1608850 "2024-01-20T15:48:15Z")

</div>

Hello everyone, I have a problem. I am working on a project with some images, with two buttons that on click I need to change the img. But I tried with the switch widget but it doesn’t work for me. Now I am using the syn…

---

## [Activate Crosshair animation on right mouse hold, and backwards on release](https://forums.unrealengine.com/t/activate-crosshair-animation-on-right-mouse-hold-and-backwards-on-release/1628704)

<div class="topic-metadata">

**Author:** [@DR\_Derude](https://forums.unrealengine.com/u/DR_Derude)\
**Replies:** 0\
**Last updated:** [January 20, 2024, 12:38pm UTC](https://forums.unrealengine.com/t/activate-crosshair-animation-on-right-mouse-hold-and-backwards-on-release/1628704 "2024-01-20T12:38:32Z")

</div>

Hi im really new to Unreal Blueprints and UMG. Im trying to create different crosshairs for different weapons. Also i have done some animations, simmilar to the talented Jeff Christy here: I want to have the crosshai…

---

## [Why ComboBoxString::MenuBorderBrush is not working in UE5?](https://forums.unrealengine.com/t/why-comboboxstring-menuborderbrush-is-not-working-in-ue5/1625608)

<div class="topic-metadata">

**Author:** [@oramcds](https://forums.unrealengine.com/u/oramcds)\
**Replies:** 0\
**Last updated:** [January 19, 2024, 5:44am UTC](https://forums.unrealengine.com/t/why-comboboxstring-menuborderbrush-is-not-working-in-ue5/1625608 "2024-01-19T05:44:38Z")

</div>

when i set the MenuBorderBrush, it cant working in runtime

---

## [The "Draw As" Border option in UMG is acting strange (4.8.2)](https://forums.unrealengine.com/t/the-draw-as-border-option-in-umg-is-acting-strange-4-8-2/325502)

<div class="topic-metadata">

**Author:** [@anon44224379](https://forums.unrealengine.com/u/anon44224379)\
**Replies:** 4\
**Last updated:** [January 18, 2024, 11:58pm UTC](https://forums.unrealengine.com/t/the-draw-as-border-option-in-umg-is-acting-strange-4-8-2/325502 "2024-01-18T23:58:11Z")

</div>

Hi, I just noticed today that in UMG widgets I am getting really strange behavior when setting the “Draw As” parameter of a button to “Border”. From my understanding the Border option is supposed to draw a border around…

---

## [HUD blocking mouse over evnets. Help!](https://forums.unrealengine.com/t/hud-blocking-mouse-over-evnets-help/411336)

<div class="topic-metadata">

**Author:** [@Bormak](https://forums.unrealengine.com/u/Bormak)\
**Replies:** 8\
**Last updated:** [January 18, 2024, 7:33pm UTC](https://forums.unrealengine.com/t/hud-blocking-mouse-over-evnets-help/411336 "2024-01-18T19:33:31Z")

</div>

Ok, the problem is when my HUD is active (added to viewport) “Mouse over events” do not work, and i have to click on an Actor to run “Mouse over events”. And if i remove my HUD - “Mouse over events” works just perfect. A…

---

## [UI in C++](https://forums.unrealengine.com/t/ui-in-c/1624255)

<div class="topic-metadata">

**Author:** [@Evan\_Choquene\_76](https://forums.unrealengine.com/u/Evan_Choquene_76)\
**Replies:** 0\
**Last updated:** [January 18, 2024, 4:40pm UTC](https://forums.unrealengine.com/t/ui-in-c/1624255 "2024-01-18T16:40:43Z")

</div>

How to create a UI in C++ on Unreal Engine 5

---

## [Weird anchor behavior when using Set Position](https://forums.unrealengine.com/t/weird-anchor-behavior-when-using-set-position/1603822)

<div class="topic-metadata">

**Author:** [@TylerB](https://forums.unrealengine.com/u/TylerB)\
**Replies:** 3\
**Last updated:** [January 17, 2024, 5:51pm UTC](https://forums.unrealengine.com/t/weird-anchor-behavior-when-using-set-position/1603822 "2024-01-17T17:51:18Z")

</div>

I’m trying to achieve something similar to the dialogue speech bubbles seen in A Short Hike: My widget accepts a world position vector, then uses this logic here to move it to the right location: Produc…

---

## [save and load array variable in savegame-- need help-- unreal engine4](https://forums.unrealengine.com/t/save-and-load-array-variable-in-savegame-need-help-unreal-engine4/473516)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_43a30ac4](https://forums.unrealengine.com/u/anonymous_user_43a30ac4)\
**Replies:** 39\
**Last updated:** [January 17, 2024, 12:18pm UTC](https://forums.unrealengine.com/t/save-and-load-array-variable-in-savegame-need-help-unreal-engine4/473516 "2024-01-17T12:18:21Z")

</div>

urgent help – .I have some different types of balls that are open or clickable when specific level cleared. I have a array variable in save state that store Boolean value for balls to open or not with another integer var…

---

## [MaterialDynamicInstance not rendered with a different Color than orange..](https://forums.unrealengine.com/t/materialdynamicinstance-not-rendered-with-a-different-color-than-orange/1611938)

<div class="topic-metadata">

**Author:** [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 4:25pm UTC](https://forums.unrealengine.com/t/materialdynamicinstance-not-rendered-with-a-different-color-than-orange/1611938 "2024-01-16T16:25:08Z")

</div>

Hi there… Currently, I’m trying to create a Hold Indicator Material (like a Cooldown overlay, just for the Hold Action of an Input). This is my Slot Widget, I want the Material to be added to: This is the Graph …

---

## [App Mobile crashes when using UI](https://forums.unrealengine.com/t/app-mobile-crashes-when-using-ui/490020)

<div class="topic-metadata">

**Author:** [@FallenOz](https://forums.unrealengine.com/u/FallenOz)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 9:45am UTC](https://forums.unrealengine.com/t/app-mobile-crashes-when-using-ui/490020 "2024-01-17T09:45:10Z")

</div>

Hi! I’m developing a mobile app with UE4.26, but everytime I try to add some animation, or multiple buttons, the app crashes with this error: LogPlayLevel: --------- beginning of crash LogPlayLevel: 10-19 11:27:17.477 2…

---

## [Rhythem based game](https://forums.unrealengine.com/t/rhythem-based-game/405701)

<div class="topic-metadata">

**Author:** [@CoCoCar](https://forums.unrealengine.com/u/CoCoCar)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 10:00pm UTC](https://forums.unrealengine.com/t/rhythem-based-game/405701 "2024-01-16T22:00:53Z")

</div>

I am wondering the best course of action for games that are rhythm based like DDR, Guitar Hero, or at least games that have a hud added to the viewport with pickups or actors you collect. To be clarify more I need help t…

---

## [Widget Text isn't updating properly, old artifacts](https://forums.unrealengine.com/t/widget-text-isnt-updating-properly-old-artifacts/380561)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2621c635](https://forums.unrealengine.com/u/anonymous_user_2621c635)\
**Replies:** 2\
**Last updated:** [January 15, 2024, 8:31am UTC](https://forums.unrealengine.com/t/widget-text-isnt-updating-properly-old-artifacts/380561 "2024-01-15T08:31:12Z")

</div>

Could anyone tell me why this is happening? I have the text corresponding to ammo and health bound to functions that get these values from the character. They change at the correct times, but the new value and the initia…

---

## [Mappable Key widget array, detecting already mapped keys](https://forums.unrealengine.com/t/mappable-key-widget-array-detecting-already-mapped-keys/1614983)

<div class="topic-metadata">

**Author:** [@Tampepunchh](https://forums.unrealengine.com/u/Tampepunchh)\
**Replies:** 0\
**Last updated:** [January 14, 2024, 8:47pm UTC](https://forums.unrealengine.com/t/mappable-key-widget-array-detecting-already-mapped-keys/1614983 "2024-01-14T20:47:36Z")

</div>

I’m having a bit of a headscratcher here with a widget for mapping keys in the settings menu that I can’t seem to figure out (or maybe it’s just not doable, idk). The entire point of what I’m doing is having it be dynam…

---

## [Calling an event to open a door from within a UI.](https://forums.unrealengine.com/t/calling-an-event-to-open-a-door-from-within-a-ui/1613321)

<div class="topic-metadata">

**Author:** [@Dunxle](https://forums.unrealengine.com/u/Dunxle)\
**Replies:** 2\
**Last updated:** [January 14, 2024, 12:50pm UTC](https://forums.unrealengine.com/t/calling-an-event-to-open-a-door-from-within-a-ui/1613321 "2024-01-14T12:50:26Z")

</div>

Hello, I am new to this. I have been wanting to have it to when someone clicks a button inside a UI it will then call an event which is inside a door blueprint. I can’t seem to reference it however, I was looking throug…

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

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