# Sound

**URL:** <https://forum.kirupa.com/t/sound/74245>\
**Category:** Uncategorized\
**Created:** [December 26, 2004, 7:09pm UTC](https://forum.kirupa.com/t/sound/74245 "2004-12-26T19:09:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![von\_dragon](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@von\_dragon](https://forum.kirupa.com/u/von_dragon)\
**Post date:** [December 26, 2004, 7:09pm UTC](https://forum.kirupa.com/t/sound/74245/1 "2004-12-26T19:09:43Z")

</div>

How do i add sound so that every time my if statement in a function i have is true, it plays a certain sound?

I need it to play a beep sound when the poing ball touches the computers paddle or the players paddle.
