How do I check which Widget button is pressed?

Goodday!

It’s pretty much what the title says. How do I check which Widget button is being pressed? I have different timelines for both button options and I need it to check which button is being pressed so it activates the right timeline.

1 Like

Add a custom event for your stuff behind the timeline. Set the Inputs equal your timeline ouput values.

OnButton1Clicked fire timeline and call your custom event
OnButton2Clicked fire timeline2 and call your custom event

I don’t think you entirely understand my situation. I have an Button Press output in my blueprint and from there I need it to check if (for example) the OpenButton is clicked and if that is true it runs the OpenTimeline. But if false I need it to run the CloseTimeline.

Hey, @Doeglas! If you have your conditions already then you can easily use a Branch node for your true false function. You can check out the Branch node here!

Okay, that I understand, but I just don’t understand how to check which button is pressed.

[Edit]
I used this method and it works perfectly!

1 Like