# Sound when the character takes damage

**URL:** <https://forums.unrealengine.com/t/sound-when-the-character-takes-damage/462820>\
**Category:** Audio\
**Tags:** side-scroller, damage, change, unreal-engine, Blueprint, question\
**Created:** [March 25, 2020, 1:42am UTC](https://forums.unrealengine.com/t/sound-when-the-character-takes-damage/462820 "2020-03-25T01:42:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghc\_9876](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ghc\_9876](https://forums.unrealengine.com/u/ghc_9876)\
**Post date:** [March 25, 2020, 1:42am UTC](https://forums.unrealengine.com/t/sound-when-the-character-takes-damage/462820/1 "2020-03-25T01:42:41Z")

</div>

I’m a beginner and I’m creating a 2d side scrolling game, using blueprint, I was thinking about when the value of the life variable changes, it reproduces the sound, but I don’t know the nodes I should use, someone help me please.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 25, 2020, 11:49am UTC](https://forums.unrealengine.com/t/sound-when-the-character-takes-damage/462820/2 "2020-03-25T11:49:02Z")

</div>

For 2d, very easy, just use PlaySoundAtLocation. Just leave the location as 0,0,0
