x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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.

Product Version: UE 4.9
Tags:
more ▼

asked Nov 17 '15 at 03:12 PM in Blueprint Scripting

avatar image

johnmontenegro
1 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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:

alt text

more ▼

answered Nov 18 '15 at 04:33 PM

avatar image

Sean L ♦♦ STAFF
43.6k 485 152 442

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question