Show message when you press a key

Hello, I want to show a message only when I enter on a Trigger volume. Right now the message appears before I press Enter (the key I should press to enter on the Trigger volume) because I used delays. I’ve tried in many ways, but nothing works. What can I do? Thanks.

Hey, so you want to enter the trigger volume and then press Enter to show a message, is that correct?

If so, I’d suggest keeping a boolean variable, that you set to true, when you enter the trigger volume and to false when you exit it. Afterwards, you can add one more check at the beginning of the Enter event, if the boolean values is false, then stop executing, if it’s true, show message as you have it now.

Hope that’s what you meant and hope it helps.

I want press Enter in order to enter the trigger volume. After that I want to show the message.

Press enter to enter the trigger volume? The trigger volume is a “place” in the world which is “entered” when your character begins to overlap it. Do you mean when you press Enter you want the character to teleport to the trigger volume? if not, can you try to explain it in more detail? I don’t understand what you are trying to achieve