How would I make a play sound when you press W on an area

The first part is very simple of course, When I’m overlapping an object (using this overlapping setup)

And you press W I want it to play a single sound (I know how to do thar part), but how do I also make it that if you’re ALREADY holding W and enter the hitbox, it only plays the sound when you enter it once?

Have the sound play inside the actor you’re overlapping. Use the DoOnce to play it only once. The sound can be played in two ways:

  • when player overlaps the box, the box can check 2 things:

    • have we already played the sound
    • is the player input down
  • what you already have

2 Likes

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