Unreal Engine Blueprints Unreal Engine Widget Blueprints 2 — Questions and Answers
Question 1: Which UMG anchor preset should you use to ensure a widget stays pinned to the bottom-right corner at any resolution?
- Top-Left (0,0)
- Center (0.5,0.5)
- Bottom-Right (1,1) (Correct answer)
- Stretch-All (0→1, 0→1)
Correct answer: Bottom-Right (1,1)
Setting both the minimum and maximum anchor to (1,1) pins the widget relative to the bottom-right of the viewport regardless of resolution.
Question 2: In a Widget Blueprint, what is the purpose of the 'Is Variable' checkbox on a widget in the Designer?
- It marks the widget as replicated across the network
- It exposes the widget as a named variable accessible in the Event Graph (Correct answer)
- It prevents the widget from being garbage collected
- It enables the widget to receive input events
Correct answer: It exposes the widget as a named variable accessible in the Event Graph
Checking 'Is Variable' promotes the widget to a Blueprint variable so you can reference and manipulate it in the Event Graph.
Question 3: Which binding approach is generally most performance-efficient for updating a UMG Text Block that changes every few seconds?
- Property Binding in the Designer panel
- Tick-based SetText call in Event Tick
- Event-driven SetText called only when the value changes (Correct answer)
- Invalidation Box wrapping with forced redraws
Correct answer: Event-driven SetText called only when the value changes
Calling SetText only when the underlying data changes avoids unnecessary re-renders every frame that property bindings and Tick cause.
Question 4: What does the 'Remove from Parent' node do when called on a Widget Blueprint instance?
- Destroys the widget object and frees all memory immediately
- Removes the widget from the viewport but keeps the object alive (Correct answer)
- Detaches the widget from its owning player controller
- Resets all widget variables to their default values
Correct answer: Removes the widget from the viewport but keeps the object alive
'Remove from Parent' detaches the widget from the viewport hierarchy but does not destroy the UObject; you must release all references for garbage collection.
Question 5: Which node is used inside a Widget Blueprint to get the local player that owns the widget's owning HUD or player controller?
- Get Game Instance
- Get Player Controller → Cast
- Get Owning Player (Correct answer)
- Get World → Get First Player Controller
Correct answer: Get Owning Player
'Get Owning Player' returns the local player associated with the widget, providing a direct reference without extra casting.
Question 6: In UMG, what is the role of the 'Invalidation Box' widget?
- It catches and suppresses invalid Blueprint variable accesses
- It caches its children's geometry and skips repainting them unless explicitly invalidated (Correct answer)
- It logs widget rendering errors to the Output Log
- It prevents overlapping widgets from receiving click events
Correct answer: It caches its children's geometry and skips repainting them unless explicitly invalidated
The Invalidation Box batches and caches child widget rendering so they are only redrawn when marked dirty, reducing draw calls.
Question 7: When a Scroll Box in UMG is set to scroll orientation 'Vertical', which property controls the thickness of the scrollbar?
- Bar Thickness
- Scrollbar Padding
- Scroll Bar Style → Thickness (Correct answer)
- Bar Width
Correct answer: Scroll Bar Style → Thickness
The scrollbar visual thickness is set via the Scrollbar Style struct's Thickness property found in the widget's details panel.
Which UMG anchor preset should you use to ensure a widget stays pinned to the bottom-right corner at any resolution?