How can I stop a decal from fading out from releasing a key?

Hi, I am currently trying to find a way to stop a decal from fading out when the user stops holding a specific key. I have it to where it will fade as the user holds the key, but am not sure how to go about stopping it from fading if the user releases it.

This is the link to my decal blueprint: Decal BP posted by anonymous | blueprintUE | PasteBin For Unreal Engine

The decal is a megascan asset, the only modification I made was hooking the “Decal Lifetime Opacity” node into the Opacity. If anyone has recommendations or another way of doing this, it would be appreciated. Thanks!

Might not be a way to achieve this result if you use the set fade out node. You could just hook a timeline up to opacity value of the decal and control it that way.

1 Like

I never thought of using a timeline but that might just work. I need to do a little research on decals as I can’t seem to set the opacity in the blueprint even though I put the parameter back for opacity and exposed it.

If I can get it I will mark your answer as the resolution, thanks!

Can you put it into an MPC and update the MPC via blueprint?

As long as the player is holding the key, decrement this value. Use ‘that value’ as your opacity.

1 Like

I don’t think I can mark more than one solution but the timeline with the MPC worked perfectly, thank you both!