How can i hide and unhide an actor in Unreal Engine 5 Blueprint?

I’m looking for a way to hide an object and later reactivate it, all in runtime.
I found the “Set actor hidden in the game” node, but I haven’t found a way to reactivate those hidden objects yet. any tips?

1 Like

Same node, you just don’t tick the box :slight_smile:

I’m so clueless, I just figured out how it works. useless post, sorry lmao

1 Like

use these two nodes,check and uncheck their boolean to hide/show the actor.

1 Like

I’m doing my script in the level blueprint, i can’t find the set visibility node

set visibility is actor’s function.you want to call it you must get the actor first.

1 Like

understood, I didn’t understand because I have object references in my level blueprint, but I created them by dragging and dropping them into the variables. Is there any difference in the two methods other than not having the “set visibility” node?

actor still has a hidden in game node.you could try that.
Unfortunately I don’t know the difference between these two nodes.they look like the same to me.

tbh I solved my problem, but thanks a lot anyway! However, I was wondering what the differences between the two ways of creating the object reference

1 Like

Sorry.which two ways?

I’m not fully sure what this means…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.