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"

UMG Changing the opacity of a widget in game.

After scouring the interwebs for a solution to my current problem I decided maybe the forums will help. I am using 4.7.6 and I can’t update my project past this version.

My issue:

I have two images placed inside a border not wrapped (can’t have more than one child). I am trying to adjust these two image’s opacity (adjusting alpha) with values I am pulling from the pawn. The intent is when a Boolean is set to true one image will disappear and another will show. This doesn’t actually happen unless I click inside the boarder surrounding these images. I would like to see these images change their opacity without the player clicking. Any insight would be helpful. Oh ya…. A few more things. I tried changing the opacity based on the Boolean within umg but I had the same issue.

Product Version: UE 4.7
pawn.png (148.3 kB)
umg1.png (43.7 kB)
umg2.png (42.4 kB)
more ▼

asked Oct 12 '15 at 08:00 PM in Blueprint Scripting

avatar image

90 6 7 9

avatar image Filibuster Oct 14 '15 at 12:56 PM

Additional.... I have since simplified my situation by nixing one of the images. However, the problem still persist with the one image.

avatar image Damir Porobic Oct 14 '15 at 02:30 PM

Hi Filibuster,

could you provide an image of the widget (with the browser on the left side), I would like to see how this is set up. Where do you change this opacity? Is it happening inside the widget? How do you trigger it, do you call a function?

Could it be that you do this change from a function which is bound to the on mouse down event on the border?

Regards, Damir

avatar image Filibuster Oct 15 '15 at 12:39 AM


Thank you for responding. Actually I was doing exactly what you mentioned. Once I retook screen shots and double checked everything it worked famously. I will post the screen shots regardless in case someone else has a similar problem/oversight.

pawnbombupdate.png (203.5 kB)
umg2.png (156.4 kB)
umg3.png (162.4 kB)
umg4.png (157.0 kB)
umg5.png (188.8 kB)
avatar image Damir Porobic Oct 15 '15 at 05:20 AM

Happy to hear that it's working now :)

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

0 answers: sort voted first
Be the first one to answer this question
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