# SFX when running

**URL:** <https://forums.unrealengine.com/t/sfx-when-running/1601528>\
**Category:** Programming & Scripting\
**Tags:** play-sound-at-locati, unreal-engine, Blueprint, question\
**Created:** [January 9, 2024, 12:26pm UTC](https://forums.unrealengine.com/t/sfx-when-running/1601528 "2024-01-09T12:26:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![judgejames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/judgejames/32/982454_2.png) [@judgejames](https://forums.unrealengine.com/u/judgejames)\
**Post date:** [January 9, 2024, 12:26pm UTC](https://forums.unrealengine.com/t/sfx-when-running/1601528/1 "2024-01-09T12:26:24Z")

</div>

Hi,

My goal is as follows…

1. When player presses ‘Shift’ to Sprint, play breathless sound (preferably fades in over time)
2. When player releases ‘Shift’ to Sprint (returning to a walk speed), fade out breathless sound

Note: The ‘Do Once’ is only there because I didn’t know how else to stop the sound from firing every tick the button is held.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/e/77eb60bf593fcb30ff6496400632fe0006700c58.png)

TIA!

---

<div class="post-metadata">

**Author:** ![judgejames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/judgejames/32/982454_2.png) [@judgejames](https://forums.unrealengine.com/u/judgejames)\
**Post date:** [January 29, 2024, 3:03am UTC](https://forums.unrealengine.com/t/sfx-when-running/1601528/2 "2024-01-29T03:03:08Z")

</div>

disregard

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 28, 2024, 3:03am UTC](https://forums.unrealengine.com/t/sfx-when-running/1601528/3 "2024-02-28T03:03:48Z")

</div>

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