How can I make deferred decals appear and disappear

I’m working on a horror game and I want blood stains to appear on the walls. To do this I’m using deferred decals but I’m not sure how to change the visibility on command.

More specifically I have a generator that you turn on and when that happens I want the decal to change visibility so it appears

I have a created a Boolean variable for when the generator is off or on if that helps you.

Thanks in advance.

There is a property Visible on decals. Toggling this True/False via BP on all the ones you want to hide/unhide should work.

Add the decal actor to the level blueprint and drag a line from its connection point on the right side of it - search for Set Visible in the menu that appears.

I tried this but it only seems to seems to work one way. if i set the decal to visible then set the BP to make it invisible that works but thats not what i want. when i try it the other way around nothing happens.

You are setting Hidden, need to set Visible.

Actually i figured it out i was mixing up the setting " hidden in game " and " Visible " it works how i need it to now thank you

From the image you have posted above, did you just end up replacing ‘Set Actor Hidden in Game’ to ‘Visible’? I am trying to get the very same thing going in my project but I’m having a lot of trouble doing it and I’m not finding much information about toggling the visibility of deferred decals. Visible is not an option that is showing up for me. Thanks.

1 Like