Get Render Transform in UMG Widget [Blueprints]

Is there anyway to get the transform data of, say, an image in a widget using blueprints? 4.7.6

Long story short, I am rotating an image using UMG’s built in animation tool for a simple mini-game. When the player presses a button and the angle of the image is between two values, [ 60 - 100 ] something happens.

When I try to “Get Render Angle” in the Graph section, all I can do is “Set Render Angle” the blueprints. I can’t “Get” the current angle. Why is that? Is it even supported? If so, is there a way to get it?

1 Like

Well, if anyone is still interested- I figured it out!

Basically, you need to get the “RenderTransform” by dragging off a pin from your “Button” then drag a pin from that and call “BreakWigetTransform” which reveals 4 components:

Translation
Scale
Shear
Angle

You can then drag a pin and get the Angle from that.

1 Like

That helped me, thank you!