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"

setting visibility or removing a widget

Hi, i ve recently watched some videos concerning Widgets but now my question is, is it better to remove a widget or to set the visibility to collapsed? As far as i know, both does basically the same or am I missing something? Can you tell me what is better?


Product Version: UE 4.19
more ▼

asked Apr 15 '18 at 10:05 PM in Blueprint Scripting

avatar image

1 1 2 2

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

2 answers: sort voted first

I'm not sure, but if you have more than one widget, the one you set as invisible may still interfere with the others, if placed on top of them (you can't interact with the widgets below) . I'd suggest you to always remove all the widget you do not need anymore. If you need to use some values for the deleted widget,you may store the in some BP (i.e. Level BP).

more ▼

answered Apr 15 '18 at 10:35 PM

avatar image

52 4 6 9

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

Just as a way to keep things easy, I generally will use one set of blocks to see if a widget needs to be on screen or not, and then either create and add it to viewport, or remove it. See the picture below. Checking for Widget Visibility

Of course you can change this to suit your game, but this keeps things tidy. For me, it has prevented a lot of yellow "!" warnings in playing. It ensures that if the widget should be shown, it is, but if it shouldn't be shown, it is hidden. Plus it guarantees that you won't run into issues with widgets being visible over others and them interfering that you can't fix through bug testing.

more ▼

answered Apr 26 '18 at 08:29 AM

avatar image

128 4 6 9

(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