Unreal Engine Blueprints Unreal Engine Blueprints MCQ 5 — Questions and Answers
Question 1: In Unreal Engine Blueprints, which data structure would you use to map unique keys to corresponding values?
- Array
- Set
- Map (Correct answer)
- Queue
Correct answer: Map
A Blueprint Map stores key-value pairs where each key is unique, allowing fast lookup of values by their associated key.
Question 2: What is the effect of marking a Blueprint function as 'Call In Editor'?
- The function executes automatically when the editor opens
- The function appears as a button in the Details panel and can be called from the editor without running the game (Correct answer)
- The function is accessible only from the editor and stripped at runtime
- The function runs inside the Blueprint editor's preview window
Correct answer: The function appears as a button in the Details panel and can be called from the editor without running the game
Functions marked Call In Editor gain a button in the selected Actor's Details panel, letting designers trigger logic without entering Play mode.
Question 3: Which Blueprint node would you use to check whether two Object references point to the same object in memory?
- Equal (Object) (Correct answer)
- Is Valid
- Do Objects Match
- Object Equality Check
Correct answer: Equal (Object)
The Equal (Object) node compares two object references and returns true only if both point to the exact same UObject instance.
Question 4: In Blueprint's Timeline node, what does the 'Loop' option do?
- Reverses the timeline direction on completion
- Causes the timeline to restart automatically when it reaches the end (Correct answer)
- Repeats each keyframe value twice
- Loops only the last 25% of the timeline
Correct answer: Causes the timeline to restart automatically when it reaches the end
Enabling Loop on a Timeline makes it automatically restart from the beginning each time it reaches the end, creating continuous animation.
Question 5: What is a Blueprint Macro Library used for?
- Storing reusable Macros that can be shared across multiple Blueprint classes (Correct answer)
- Defining C++ macros accessible from Blueprints
- Caching frequently used Blueprint functions for performance
- Grouping all game macros into a single compiled binary
Correct answer: Storing reusable Macros that can be shared across multiple Blueprint classes
A Blueprint Macro Library is an asset that holds macros accessible to any Blueprint in the project, enabling code reuse across classes.
Question 6: When using 'Set Input Mode UI Only' in Blueprints, what happens to player input?
- Only UI widgets receive input; the player pawn stops receiving keyboard/mouse input (Correct answer)
- Input is directed to both UI and gameplay simultaneously
- Input is disabled entirely for all systems
- The mouse cursor is hidden and locked to the viewport
Correct answer: Only UI widgets receive input; the player pawn stops receiving keyboard/mouse input
Set Input Mode UI Only redirects all player input to the UI/widget system and prevents gameplay input from reaching the player controller.
Question 7: In Blueprints, what does the 'Validate Get' option on a variable getter node do?
- It asserts that the variable is non-null and crashes the game if invalid, for debugging purposes
- It adds an Is Valid check and provides a separate execution pin for invalid references (Correct answer)
- It automatically initializes the variable to its default if null
- It prevents the variable from being overwritten by other Blueprints
Correct answer: It adds an Is Valid check and provides a separate execution pin for invalid references
Enabling Validate Get on an object getter splits it into valid/invalid execution paths, letting you handle null references gracefully.
In Unreal Engine Blueprints, which data structure would you use to map unique keys to corresponding values?