Why do I only get “SetText (Target is Text)” instead of “Target is TextBlock”?

In a Widget Blueprint, I drag from my TextBlock variable to create SetText, but it always shows “Target is Text.” I already enabled “Is Variable” in Designer. Why can’t I get the “Target is TextBlock” version?

I’m new to Unreal so please have that in mind.

That’s completely normal, they have overridden the DisplayName of the UTextBlock widget to just “Text”.

Which is why it says “Target is Text” and not “Target is TextBlock”

E.g.,

UCLASS(meta=(DisplayName="Text"), MinimalAPI)
class UTextBlock : public UTextLayoutWidget
{
...

What you’re doing is correct :+1: Don’t worry about the name.

1 Like