Cannot Change Visibility of Animated Widget

Hello,

I am unable to use a button OnClick event to alter the visibility of an animated widget (in my case its an animated canvas panel) from visible to hidden/collapsed. Strangely enough you can change animated widget’s visibility to visible if it was at first set to hidden/collapsed.

To Repro:

  • Create 2 buttons, and an image widget.
  • Set the image widgets visibility to hidden or collapsed
  • Give the image widget a scaling animation, hook it up via BP, set it to loop
  • Button1 via Onclick event…set it up via BP to change the image widgets visibility to visible
  • Button2 via Onclick event…set it up via BP to change the image widgets visibility to hidden/collapse

Watch illogical behavior ensue.

  • The animated widget will be hidden but once you click Button1, it will appear. Press Button2 to make it vanish again and it wont.

Hello,

I have followed your repro, but have been unable to reproduce the issue. Whether my image was set to hidden or visible initially, I was able to hide/show it with a button press as many times as I’d like. It is possible that you are setting the visibility property in the timeline. Do you have the Visibility section in your Animation Timeline? I have attached an image to clarify which property I’m talking about:

67265-visibility+option.png