# UI

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

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

**Page:** 66

---

## [Mouse cursor appears on the borders of my screen](https://forums.unrealengine.com/t/mouse-cursor-appears-on-the-borders-of-my-screen/1804377)

<div class="topic-metadata">

**Author:** [@Pataloon](https://forums.unrealengine.com/u/Pataloon)\
**Replies:** 0\
**Last updated:** [April 15, 2024, 7:10am UTC](https://forums.unrealengine.com/t/mouse-cursor-appears-on-the-borders-of-my-screen/1804377 "2024-04-15T07:10:48Z")

</div>

Hi! I’m working in Unreal Engine 4.27 on a game that is nearing the finish line but I have to face a recurrent problem I don’t know how to solve. The mouse cursor is showing up when my mouse reaches the borders of my s…

---

## [Multi-line text box stops working after couple text lines in Japanese, Chinese, Korean with IME keyboard input](https://forums.unrealengine.com/t/multi-line-text-box-stops-working-after-couple-text-lines-in-japanese-chinese-korean-with-ime-keyboard-input/1804045)

<div class="topic-metadata">

**Author:** [@Relectro](https://forums.unrealengine.com/u/Relectro)\
**Replies:** 0\
**Last updated:** [April 15, 2024, 12:27am UTC](https://forums.unrealengine.com/t/multi-line-text-box-stops-working-after-couple-text-lines-in-japanese-chinese-korean-with-ime-keyboard-input/1804045 "2024-04-15T00:27:27Z")

</div>

Hello everyone, I’m currently making a “Daily journal” feature in my game, it’s basically a multi-line text widget inside a scroll box. Players can then freely input text without a limit of character. While the system w…

---

## [Debug key event triggers node but custom event does not??](https://forums.unrealengine.com/t/debug-key-event-triggers-node-but-custom-event-does-not/1803775)

<div class="topic-metadata">

**Author:** [@DangerousMindGms](https://forums.unrealengine.com/u/DangerousMindGms)\
**Replies:** 0\
**Last updated:** [April 14, 2024, 7:52pm UTC](https://forums.unrealengine.com/t/debug-key-event-triggers-node-but-custom-event-does-not/1803775 "2024-04-14T19:52:10Z")

</div>

Hello, im really trying to solve this bizarre problem but nothing so far has worked. In my hud widget i have a custom event that fires when my vehicle’s gear changes. The node it triggers is a play animation node for a …

---

## [Cursor forced to the middle of the screen when I intreact with widget using Gamepad](https://forums.unrealengine.com/t/cursor-forced-to-the-middle-of-the-screen-when-i-intreact-with-widget-using-gamepad/1802022)

<div class="topic-metadata">

**Author:** [@polmarinmenti](https://forums.unrealengine.com/u/polmarinmenti)\
**Replies:** 1\
**Last updated:** [April 14, 2024, 3:38pm UTC](https://forums.unrealengine.com/t/cursor-forced-to-the-middle-of-the-screen-when-i-intreact-with-widget-using-gamepad/1802022 "2024-04-14T15:38:36Z")

</div>

I’m using Common UI and have created this very simple Pause Menu with 3 buttons: Start (on top), Options (in the middle) and Quit to Main Menu (on the bottom). The navigation works fine with the mouse but whenever i try …

---

## [Widget opening question (opens on holding change to opens on click)](https://forums.unrealengine.com/t/widget-opening-question-opens-on-holding-change-to-opens-on-click/1802017)

<div class="topic-metadata">

**Author:** [@RoyalPoisonator](https://forums.unrealengine.com/u/RoyalPoisonator)\
**Replies:** 0\
**Last updated:** [April 13, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/widget-opening-question-opens-on-holding-change-to-opens-on-click/1802017 "2024-04-13T14:58:45Z")

</div>

Hello reader, Last month Renovation Simulator was in free for the month in the marketplace so i grabbet it. But since im relatively new on Unreal Engine i was playing with it alot and learned alot. Now the Question Re…

---

## [Issue with CommonButtonBase resetting alignments on compile](https://forums.unrealengine.com/t/issue-with-commonbuttonbase-resetting-alignments-on-compile/1800756)

<div class="topic-metadata">

**Author:** [@Vigilant](https://forums.unrealengine.com/u/Vigilant)\
**Replies:** 1\
**Last updated:** [April 12, 2024, 7:35pm UTC](https://forums.unrealengine.com/t/issue-with-commonbuttonbase-resetting-alignments-on-compile/1800756 "2024-04-12T19:35:30Z")

</div>

I’ve created a child of CommonButtonBase and added a Common Text to it. I’m noticing however that whenever I set the horizontal and vertical alignment to be centered that when I compile it will reset back to fill on both…

---

## [Slider for a Video Player Widget](https://forums.unrealengine.com/t/slider-for-a-video-player-widget/305271)

<div class="topic-metadata">

**Author:** [@Dopefish1111](https://forums.unrealengine.com/u/Dopefish1111)\
**Replies:** 9\
**Last updated:** [March 3, 2015, 8:09pm UTC](https://forums.unrealengine.com/t/slider-for-a-video-player-widget/305271 "2015-03-03T20:09:41Z")

</div>

http://i.imgur.com/uZHi9gQ.png So I managed to create a video player with a slider. The video works just fine. As the video plays, the slider plays from beginning to end, and back to the beginning when it loops. There’s…

---

## [How to show widget component on screen space](https://forums.unrealengine.com/t/how-to-show-widget-component-on-screen-space/267133)

<div class="topic-metadata">

**Author:** [@lehuan5062](https://forums.unrealengine.com/u/lehuan5062)\
**Replies:** 8\
**Last updated:** [April 12, 2024, 2:29pm UTC](https://forums.unrealengine.com/t/how-to-show-widget-component-on-screen-space/267133 "2024-04-12T14:29:27Z")

</div>

I tried to change the space of my widget component to screen: But when I play in editor, nothing is showed on my screen. How can I get it to display?

---

## [Really need help -- Widget animation refuses to play](https://forums.unrealengine.com/t/really-need-help-widget-animation-refuses-to-play/1799606)

<div class="topic-metadata">

**Author:** [@DangerousMindGms](https://forums.unrealengine.com/u/DangerousMindGms)\
**Replies:** 0\
**Last updated:** [April 12, 2024, 12:23am UTC](https://forums.unrealengine.com/t/really-need-help-widget-animation-refuses-to-play/1799606 "2024-04-12T00:23:55Z")

</div>

Hi guys. I’m having an issue with this widget animation that’s in my “Drag race RPM meter” widget which is nested in my HUD widget. The play animation node in the rpm meter widget gets execution. But the animation doesn…

---

## [How to get a Widget Object's position relative to the origin of the root Widget in World Space?](https://forums.unrealengine.com/t/how-to-get-a-widget-objects-position-relative-to-the-origin-of-the-root-widget-in-world-space/1798823)

<div class="topic-metadata">

**Author:** [@CodyBrownCAE](https://forums.unrealengine.com/u/CodyBrownCAE)\
**Replies:** 0\
**Last updated:** [April 11, 2024, 2:16pm UTC](https://forums.unrealengine.com/t/how-to-get-a-widget-objects-position-relative-to-the-origin-of-the-root-widget-in-world-space/1798823 "2024-04-11T14:16:55Z")

</div>

So I’m trying to find the absolute position of a particular widget within the hierarchy based on the desired size and the top left of the widget. The difficulty I’m having is that this is a World Space widget so I can’t …

---

## [Get Root Widget in Blueprints](https://forums.unrealengine.com/t/get-root-widget-in-blueprints/1691261)

<div class="topic-metadata">

**Author:** [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Replies:** 2\
**Last updated:** [April 11, 2024, 2:14am UTC](https://forums.unrealengine.com/t/get-root-widget-in-blueprints/1691261 "2024-04-11T02:14:09Z")

</div>

I have seen this asked in past posts, but have not found a fitting solution. I am curious as to why there is a function for Get Root Widget in C++ and why this function has not been exposed to blueprints natively? I am…

---

## ["No instance of function template" on CreateWidget()](https://forums.unrealengine.com/t/no-instance-of-function-template-on-createwidget/1797263)

<div class="topic-metadata">

**Author:** [@DedicatedFire](https://forums.unrealengine.com/u/DedicatedFire)\
**Replies:** 0\
**Last updated:** [April 10, 2024, 2:57pm UTC](https://forums.unrealengine.com/t/no-instance-of-function-template-on-createwidget/1797263 "2024-04-10T14:57:25Z")

</div>

I can’t seem to wrap my head around this problem in visual studio. pragma once #include "CoreMinimal.h" #include "GameFramework/HUD.h" #include "MainHUD.generated.h" class UChatMenu; UCLASS() class MYPROJECT\_API AM…

---

## [How to access alternate glyphs that are in the font but somehow not in Unreal?](https://forums.unrealengine.com/t/how-to-access-alternate-glyphs-that-are-in-the-font-but-somehow-not-in-unreal/1796496)

<div class="topic-metadata">

**Author:** [@Nekogorgon](https://forums.unrealengine.com/u/Nekogorgon)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 2:51pm UTC](https://forums.unrealengine.com/t/how-to-access-alternate-glyphs-that-are-in-the-font-but-somehow-not-in-unreal/1796496 "2024-04-10T14:51:32Z")

</div>

I’ve imported a font into Unreal that I know has stylistic alternate glyphs for capital letters. These alternate glyphs use the same Unicode as the original capital letters (0041 for A, 005A for Z, etc.) but they do have…

---

## [UE5.3.2 Plugin Add a module dependency problem LyraStarterGame](https://forums.unrealengine.com/t/ue5-3-2-plugin-add-a-module-dependency-problem-lyrastartergame/1793393)

<div class="topic-metadata">

**Author:** [@hdm1024](https://forums.unrealengine.com/u/hdm1024)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 2:36pm UTC](https://forums.unrealengine.com/t/ue5-3-2-plugin-add-a-module-dependency-problem-lyrastartergame/1793393 "2024-04-10T14:36:00Z")

</div>

Is there a god who can popularize it? UE5,C++ Plugin module problems. The details of the problem are as follows: I used the official example project LyraStarterGame to create a new project that copied Lyra, tried to …

---

## [TextBlock inside RetainerBox causes "Leak Detected" message when containing UUserWidget is moved in the UMG Designer](https://forums.unrealengine.com/t/textblock-inside-retainerbox-causes-leak-detected-message-when-containing-uuserwidget-is-moved-in-the-umg-designer/482997)

<div class="topic-metadata">

**Author:** [@RGARDEN1](https://forums.unrealengine.com/u/RGARDEN1)\
**Replies:** 1\
**Last updated:** [April 9, 2024, 10:54pm UTC](https://forums.unrealengine.com/t/textblock-inside-retainerbox-causes-leak-detected-message-when-containing-uuserwidget-is-moved-in-the-umg-designer/482997 "2024-04-09T22:54:01Z")

</div>

I have a minimal project which declares a C++ UUserWidget class called USimpleBase, like this: UCLASS() class MY\_API USimpleBase : public UUserWidget { GENERATED\_BODY() protected: virtual TSharedRef\<SWidget\> Rebuil…

---

## [Getting mouse position in UMG widget](https://forums.unrealengine.com/t/getting-mouse-position-in-umg-widget/392216)

<div class="topic-metadata">

**Author:** [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Replies:** 11\
**Last updated:** [April 9, 2024, 9:10am UTC](https://forums.unrealengine.com/t/getting-mouse-position-in-umg-widget/392216 "2024-04-09T09:10:18Z")

</div>

Recently I started playing with UMG. Seems like it has a lot of potential make some pretty good looking UI. One thing I’ve run into though is getting the touch position within a widget. Basically I have and image that I…

---

## [If widget button is selected and i press tab, it selects the next button :(](https://forums.unrealengine.com/t/if-widget-button-is-selected-and-i-press-tab-it-selects-the-next-button/360530)

<div class="topic-metadata">

**Author:** [@anon57308830](https://forums.unrealengine.com/u/anon57308830)\
**Replies:** 6\
**Last updated:** [April 8, 2024, 10:51pm UTC](https://forums.unrealengine.com/t/if-widget-button-is-selected-and-i-press-tab-it-selects-the-next-button/360530 "2024-04-08T22:51:40Z")

</div>

I have my inventory that opens/closes when i press tab, but when i click on one of the slots and press tab to exit the inventory, it isnt exiting, but selecting the next button. How can i prevent it?

---

## [Widget Anchor position in Blueprint?](https://forums.unrealengine.com/t/widget-anchor-position-in-blueprint/247500)

<div class="topic-metadata">

**Author:** [@espr3ss0](https://forums.unrealengine.com/u/espr3ss0)\
**Replies:** 4\
**Last updated:** [August 27, 2021, 4:29pm UTC](https://forums.unrealengine.com/t/widget-anchor-position-in-blueprint/247500 "2021-08-27T16:29:14Z")

</div>

Is there any way to set the Anchor position / type for Widget created in Blueprint?

---

## [How to Focus on First Result from a List (CommonUI)?](https://forums.unrealengine.com/t/how-to-focus-on-first-result-from-a-list-commonui/1794153)

<div class="topic-metadata">

**Author:** [@CVoiceOfficial](https://forums.unrealengine.com/u/CVoiceOfficial)\
**Replies:** 0\
**Last updated:** [April 8, 2024, 3:25pm UTC](https://forums.unrealengine.com/t/how-to-focus-on-first-result-from-a-list-commonui/1794153 "2024-04-08T15:25:09Z")

</div>

Good day, I can’t find any instructions on getting the first result from the Common List View when creating UI. My goal is to focus on the first result for gamepad/mouse purposes. I see there is a “get item at” function,…

---

## [UI Gradient Fade out](https://forums.unrealengine.com/t/ui-gradient-fade-out/441904)

<div class="topic-metadata">

**Author:** [@TwilightDragonFX](https://forums.unrealengine.com/u/TwilightDragonFX)\
**Replies:** 2\
**Last updated:** [April 8, 2024, 12:24pm UTC](https://forums.unrealengine.com/t/ui-gradient-fade-out/441904 "2024-04-08T12:24:58Z")

</div>

Hi, I need help with UI Material and Alpha Clipping mask. I’ve created a Clipping layer, that cut’s the Compass Lines and Battery Finder in the marked Box. I want to create an active alpha material gradient effect, li…

---

## [UMG Tree View](https://forums.unrealengine.com/t/umg-tree-view/447849)

<div class="topic-metadata">

**Author:** [@SchucoAccount](https://forums.unrealengine.com/u/SchucoAccount)\
**Replies:** 10\
**Last updated:** [April 8, 2024, 9:50am UTC](https://forums.unrealengine.com/t/umg-tree-view/447849 "2024-04-08T09:50:33Z")

</div>

Hi all, I am trying to make a expandable tree structure in UE4. The design is like the image below. I assumed I should use “Tree View” to make it. However, I couldn’t find any tutorial regarding about the Tree View in…

---

## [Segmented Health Bar](https://forums.unrealengine.com/t/segmented-health-bar/1793081)

<div class="topic-metadata">

**Author:** [@ZincGoBRRRR](https://forums.unrealengine.com/u/ZincGoBRRRR)\
**Replies:** 1\
**Last updated:** [April 8, 2024, 6:01am UTC](https://forums.unrealengine.com/t/segmented-health-bar/1793081 "2024-04-08T06:01:09Z")

</div>

Hello everyone, i am working on a fps in unreal engine and I was wondering how can I make a segmented health bar like overwatch’s in unreal engine? I want it to be dynamic and the segments represent a certain amount of h…

---

## [Random Images in widget background](https://forums.unrealengine.com/t/random-images-in-widget-background/1793437)

<div class="topic-metadata">

**Author:** [@Sumant178](https://forums.unrealengine.com/u/Sumant178)\
**Replies:** 2\
**Last updated:** [April 8, 2024, 5:58am UTC](https://forums.unrealengine.com/t/random-images-in-widget-background/1793437 "2024-04-08T05:58:32Z")

</div>

Hey Guys i have a question, I am making UI for my game and i have menu screen and loading screen and I have added images as my background, Is there a way to make it random like chooses between number of images??

---

## [Retainer Box Makes Combobox Buggy](https://forums.unrealengine.com/t/retainer-box-makes-combobox-buggy/488470)

<div class="topic-metadata">

**Author:** [@TactileVisions](https://forums.unrealengine.com/u/TactileVisions)\
**Replies:** 10\
**Last updated:** [April 8, 2024, 12:18am UTC](https://forums.unrealengine.com/t/retainer-box-makes-combobox-buggy/488470 "2024-04-08T00:18:41Z")

</div>

When the HUD is wrapped in a retainer box, the combo box behaves differently from normal: a scrollbar appears on the side and the menu items have to be clicked several times to be selected. Depending on the clicking spee…

---

## [Can a scrollbox be controlled with an input other than the mouse wheel?](https://forums.unrealengine.com/t/can-a-scrollbox-be-controlled-with-an-input-other-than-the-mouse-wheel/1793015)

<div class="topic-metadata">

**Author:** [@JasonKorda](https://forums.unrealengine.com/u/JasonKorda)\
**Replies:** 0\
**Last updated:** [April 7, 2024, 9:24pm UTC](https://forums.unrealengine.com/t/can-a-scrollbox-be-controlled-with-an-input-other-than-the-mouse-wheel/1793015 "2024-04-07T21:24:36Z")

</div>

Hello! I’d like to scroll in a scroll box using the gamepad, more especifically the left thumbstick’s Y axis. Is this possible using blueprints?

---

## [Cant add my User Widget in the Viewport](https://forums.unrealengine.com/t/cant-add-my-user-widget-in-the-viewport/419546)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9a96d877](https://forums.unrealengine.com/u/anonymous_user_9a96d877)\
**Replies:** 1\
**Last updated:** [April 7, 2024, 8:33pm UTC](https://forums.unrealengine.com/t/cant-add-my-user-widget-in-the-viewport/419546 "2024-04-07T20:33:22Z")

</div>

Hi guys so im trying to make a hud appear, once a character overlap a triggerbox so heres my code, the name of my userwidget is “HelpTextHUD” i probobly forgot something but not sure what it is. so here is my code: // .…

---

## [Draw line in the center of the UI](https://forums.unrealengine.com/t/draw-line-in-the-center-of-the-ui/1787805)

<div class="topic-metadata">

**Author:** [@DeasteX](https://forums.unrealengine.com/u/DeasteX)\
**Replies:** 4\
**Last updated:** [April 6, 2024, 6:13pm UTC](https://forums.unrealengine.com/t/draw-line-in-the-center-of-the-ui/1787805 "2024-04-06T18:13:57Z")

</div>

Hello. I want to draw the dynamic line in UI, that shows character speed by length and his direction (XY). This script works fine, but i cant draw line in the center of the screen or the Widget blueprint. In the Widget…

---

## [vr packaging error](https://forums.unrealengine.com/t/vr-packaging-error/1790674)

<div class="topic-metadata">

**Author:** [@yeliiff](https://forums.unrealengine.com/u/yeliiff)\
**Replies:** 0\
**Last updated:** [April 6, 2024, 10:26am UTC](https://forums.unrealengine.com/t/vr-packaging-error/1790674 "2024-04-06T10:26:31Z")

</div>

LogTurnkeySupport: Running Turnkey SDK detection: ’ -ScriptsForProject=“C:/Users//Desktop/Yeni klasör (2)/VR\_Template/VR\_Template.uproject” Turnkey -utf8output -WaitForUATMutex -command=VerifySdk -ReportFilename=“C:/User…

---

## [Removing Cinecamera Actor Controls from the viewport](https://forums.unrealengine.com/t/removing-cinecamera-actor-controls-from-the-viewport/1789917)

<div class="topic-metadata">

**Author:** [@N1KDragon](https://forums.unrealengine.com/u/N1KDragon)\
**Replies:** 1\
**Last updated:** [April 5, 2024, 9:32pm UTC](https://forums.unrealengine.com/t/removing-cinecamera-actor-controls-from-the-viewport/1789917 "2024-04-05T21:32:57Z")

</div>

How can I remove the cinecamera actor controls from the viewport? I dont require these here since I already have them in the sequencer and they are taking up precious screen real estate. Thank you for the support!

---

## [Free typewriter system similar to games like Mario, Zelda, Hat In Time](https://forums.unrealengine.com/t/free-typewriter-system-similar-to-games-like-mario-zelda-hat-in-time/570986)

<div class="topic-metadata">

**Author:** [@instgram.1.t](https://forums.unrealengine.com/u/instgram.1.t)\
**Replies:** 0\
**Last updated:** [May 31, 2022, 6:01pm UTC](https://forums.unrealengine.com/t/free-typewriter-system-similar-to-games-like-mario-zelda-hat-in-time/570986 "2022-05-31T18:01:56Z")

</div>

I’ve noticed a lot of people struggling with the “typewriter” effect that also allows animating of text individually so I decided to make a simple example project so that you guys can download and learn all about the mag…

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

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