change visibility on keyPress 'N'

So I’m working on this project that has spooky text on the wall that’s only supposed to appear when a key is press in this case ‘N’. and have it go invisible again when the player presses it a second time, kinda like having a second kind of vision(specter vision if you will).

The problem that I’m having is that don’t really know where to go from this, I’ve looked around and haven’t found many sources that go into this description.

any ideas

It’s just this:

image

But this should not be in a regular actor. Actors should not process input.

hmm if not an Actor what should I use then?

Pawn or Player Controller. The Player represented by the Pawn comes over to a wall and looks at it, presses a button - if that’s the right wall, a text will appear.


So I’m working on this project that has spooky text on the wall that’s only supposed to appear when a key is press in this case ‘N’.

If this is the only wall that will have this, you can keep it in the wall actor, just enable input in this actor. But you may say goodbye to using N anywhere else in your project.

You can also use the box collision, overlap event.