UMG or Unreal Motion Graphics, is the GUI based editor for the Slate GUI library. UMG was introduced as an experimental feature in Unreal Engine 4.5, and has become stable and accepted as a major feature in later engine versions. Use this tag for all questions relating to Unreal UMG and widgets.
Questions tagged [unreal-umg]
36 questions
0
votes
1 answer
How to Blur background behind the UI only unreal 5
I'm new to Unreal game engine,but have some idea about how things works. I recently working on an archviz project and want to add some UI blur effect behind the UI element only. Here are some reference video that I'm talking about. I can't upload…
0
votes
1 answer
How to set an image texture via file location in Unreal?
I'm using Unreal engine for a personal project, but am running into a problem.
I want it so that when you click the button in the center of the screen, the brush from the child image changes. I'd use a "select" node, but I've got thousands of…

user990129848
- 1
- 1
0
votes
1 answer
UE4 Curved HUD & Mouse Input
I made a material that allows me to curve my HUD, so give the effect that it is a helmet HUD. The problem with this method is that unfortunately, if I put anything that can be interactive with the mouse, well there is a shift in the position of the…

Zetta420
- 1
- 1
0
votes
1 answer
Is there a way to independently use the left and right sides of the drag event?
In Unreal's blueprint, I want to use the right and left sides of the UI Canvas in different ways. This can happen separately, but it can also be used at the same time. While currently using the left drag, the drag event for the left calls the drop…

sun linkan
- 36
- 1
0
votes
1 answer
How to pass value to or call a function of AMyPlayerController (APlayerController) from UMenuWidget (UUserWidget) in Unreal, using C++?
My UMenuWidget (derived from UUserWidget) needs to pass a value to AMyPlayerController (derived from APlayerController).
I have tried:
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FPassParam,int,intData);
But inGameHUD->MenuWidget from…

Supreeto
- 198
- 9
0
votes
0 answers
UE4 - Rotating an Actor on its Local Z-Axis, Using Another Actor's World Location (Solar Panel)
I am working on a project that has solar panels. The solar panels must always face the sun in the most efficient way.
In my test project, there is a sphere (representing the sun), rotating around the center of the world.
This is my solar panel…

Ozan Atmar
- 270
- 1
- 3
- 11
0
votes
1 answer
UE4 add Widget Class BP which inherits from UUserwidget in BP Editor?
I have a AActor class in cpp. I created a BP inherits from it named My_Actor_BP. In cpp class i declared some UPROPERTY :
UPROPERTY(EditAnywhere, Category = "Event Section")
TArray Event_Dispatcher_0;
UPROPERTY(EditAnywhere,…

sirmaci
- 93
- 4
- 16
0
votes
0 answers
UE5: GetScreenSpacePosition() always return (0,0)
I'm trying to extract the mouse position from FPointerEvent, but no matter what, it always return the coordinate of (0,0).
Note that I'm aware of APlayerController::GetMousePosition() function, but I'll be implement the same to dragging UMG so…

Hung Quang
- 40
- 1
- 6
0
votes
1 answer
UE4 - Get children widgets from UUserWidget's pointer (UMG)
I got my non-UObject class holds an
UUserWidget* Instance;
So how do I get a children widget (Ex: UTextBlock) out of that
Briefly, I want something like this:
Instance->GetChildrenWidgetByName("UTextBlock_Name")

Hung Quang
- 40
- 1
- 6
0
votes
0 answers
An exception occurred: read access violation. **this** was nullptr
I've just started to learn C++ developing a game using Unreal Engine 4.26.2.
I don't really know what I'm doing.
I have created an UMG.UserWidget to show the HUD.Then I have created a C++ class that inherits from UserWidget. After that, I have…

VansFannel
- 45,055
- 107
- 359
- 626
0
votes
1 answer
Where do I have to put the code to display the main menu of my game?
I've just started to learn Unreal Engine and I developing a Pong game using C++.
To create the menu I have used UMG and to learn how to do it, I have watched Wiring up the Main Menu tutorial from Unreal Engine Online learning.
To show the Widget…

VansFannel
- 45,055
- 107
- 359
- 626
0
votes
1 answer
binding doesn't create text
I'm trying to set up a hi score table in my game and the binding to get the score isn't being called at all. It isn't working. It uses the same logic as the names, but doesn't display anything in the text box. binding the name function to the cell…

Manadono
- 1
- 2
0
votes
1 answer
Question about widget landscape and portrait
I need to use my menu with image in landscape and portrat (if user turns the phone to another position) using widget.
I need for landscape and portrait with different widget design, or exists other better solution (like works responsive html)?

dkr1985
- 23
- 2
0
votes
1 answer
UE4 Open Level node not working in cooked builds
I have a widget with a button that open a level and plays a sound when clicked.
The level opens well in PIE but not in cooked builds.
Any thoughts?

Spyro 999
- 27
- 2
- 11
0
votes
1 answer
Click function on Toggle Buttons in Unreal Engine 4 C++
I have a doubt about CheckBoxes and click events. I have some button which executes a function OnClick, something like this on code:
SomeButton->OnClicked.AddDynamic(this, &ClassName::FunctionToExecute);
For style reasons, I thought that I should…

MaxPower
- 45
- 1
- 12