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"

UI Fade Out

Hello All,

At the moment im trying to create this scenario: Player walks into a box trigger, a UI prompt fades in telling the user to "press A button" the UI stays on screen until the player leaves the box trigger, then the UI will fade out.

I have nearly everything working correctly but i cant seem to get the UI to fade out after the player leaves the box trigger. I have a UI animation to fade in and out, the fade in works but the fade out just cuts, or doesnt play at all.

alt text

I hope the blueprint is clear, the fade animation is in the UI graph itself. which is here:

alt text

Any Help Appreciated

Product Version: UE 4.12
more ▼

asked Jul 04 '16 at 09:16 AM in Using UE4

avatar image

181 33 46 53

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

1 answer: sort voted first


This is a quick example of FadeIn/FadeOut. You can do all that you need inside an actor.

This is actor with Collision Box component.

alt text

This is Event Graph of the actor.

alt text

You need to create a variable for the current instance of the widget. Using this variable, you will have access to the widget.

alt text

Animation curve is a linear curve in the range from 0 to 1.

alt text

This is result.


fademenu01.png (418.8 kB)
fademenu02.png (94.2 kB)
fademenu03.png (49.5 kB)
fademenu04.png (232.2 kB)
more ▼

answered Jul 04 '16 at 02:33 PM

avatar image

8.5k 255 43 400

avatar image Dark_Jubei Jul 04 '16 at 04:24 PM

Hey! Thanks for your help, im working through this but having a lil trouble. I cant seem to get the RGBA values on the set colour and opacity nodes to show, alt text

So i cant follow the tutorial exactly. Do you have any ideas where im going wrong?

level_03.png (112.1 kB)
avatar image Dark_Jubei Jul 05 '16 at 03:10 PM

hey again, ive got most everything to work, im still having issues with the color and opacity option. I THINK that when i plug the animation from the timeline into the color and opacity it fades to black whilst fading out. Is there a way to just enable the alpha to be affected, not the colour itself?


avatar image Ecnassianer Mar 14 '17 at 07:50 AM

Right click on the "In Color and Opacity" input and select "Split Struct Pin". Then yours will look like svv3dUDN's.

(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