# multi-touch

**URL:** <https://discussions.unity.com/t/multi-touch/647604>\
**Category:** Scripting\
**Tags:** Scripting\
**Created:** [December 1, 2016, 6:18pm UTC](https://discussions.unity.com/t/multi-touch/647604 "2016-12-01T18:18:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![methos5k](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/methos5k/32/387158_2.png) [@methos5k](https://discussions.unity.com/u/methos5k)\
**Post date:** [March 9, 2018, 8:58am UTC](https://discussions.unity.com/t/multi-touch/647604/4 "2018-03-09T08:58:58Z")

</div>

Firstly, check this thread for how to post code on the forums for future reference: [Using code tags properly](https://discussions.unity.com/t/481379)

Next, do you get any errors? Does the raycast hit?

My other suggestion would be to use the IPointerClickHandler interface, which entails:

- adding “using UnityEngine.EventSystems;” at the top of your script.
- adding the interface (beside ': MonoBehaviour) at the top: “IPointerClickHandler”…
- letting your IDE help you implement the method for the interface.
- putting your logic/code inside the method (accessing/changing the audio source).

---

_[View the full topic](https://discussions.unity.com/t/multi-touch/647604)._
