UMG Animations: bIsEnabled keyframes have no effect?

Hey guys,

I’m using UMG animations on my main menu and I’m trying to animate the bIsEnabled variable of a widget and it appears to have no effect.

As a work-around I can hide, collapse, or make the widget hit-test invisible, but what I really want to do is Disable it so I get the nice grey-out on the buttons.

Specifics:
The widget is a ‘Vertical Box’ with a number of ‘Buttons’ as children. And I’ve tried setting bIsEnabled keyframes on both the Box’s Canvas Panel Slot and the individual buttons.

And to be clear, this is only an issue with animation. I can statically set these variables no problem.

Thanks,

Sean

Hello jessome,

I was able to reproduce this issue on our end. I have written up a report ( UE-31874) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. I have also provided a workaround below that may be viable depending on your needs. Thank you for your time and information.

Workaround:

Here I have created a widget blueprint that I will be using as my button and I have added a boolean variable to this blueprint. I replaced the canvas panel with a button widget. I then bound the “IsEnabled” setting of the button to the variable that I created. I have provided the setting for the variable below.

Note: Expose to Matinee is important, this is what allows it to be used in the animations.

In my example, I added the blueprint above to another widget blueprint. The example below starts with the “Button” enabled and then when clicked, it becomes disabled for a second before it returns to being enabled again. I hope that this example helps.

Make it a great day