enter number in widget and actor rotates that much over time with timeline (preferably)

Hey,

so the widget is a widget that gets added to the viewport of the user. In this case I used the level blueprint to create the widget and show it:

Then we want a reference to this widget. So we try to get one in the BP_RotatedActor on EventBeginPlay. What happens here? =>

  1. Delay: We need a delay because the widget takes a few ticks to be created
  2. GetAllWidgetsOfClass: Here we get an array of all possible widgets of the specified type (disabled TopLevelOnly ). Currently, there is only one widget in this array, so how do we “get” this widget?
  3. GET : We use the Get node with index 0 to get the first entry of the array (arrays start at index 0)
    image
  4. Create the reference: From the Get node we can drag off of the blue pin and use the PromoteToVariable option
    image

CommitMethod => OnEnter:
When we use OnTextCommitted we have an enum pin to compare it with an existing commit method. To use this we drag off of the green pin and choose Equal(Enum)


There you will get a dropdown menu to select the CommitMethod

1 Like