Turn visible on/off for an item/prop

Thanks so much. This works perfectly with a ‘standard’ button. And I have already used it in my island.
Can it be edited to also include conditional buttons…and with character devices.
I guess to clarify, I was looking for a conditional button to make a character device (NPC) disappear once the conditional button was activated.
I’m new to UEFN and Unreal Engine.
I have worked in Unity and some C#. Verse is a little different.
Again, thanks so much for the code you provided…greatly appreciated.