Welcome to the Treehouse Community
Looking to learn something new?
how do i scroll up in my app and as im scrolling to the top a sound file is played and gets louder more you scroll up
i would like to scroll up and down in my app and as im scrolling up i would like a sound file to play very lightly but the more you scroll to the top of the app the louder the sound get and when you scroll down the sound gets lower then eventually turns off.
Do i give the sound object a reference of point so when i scroll up the closer i get to the reference point the louder it gets. I dont know how to do this.
Please point me in the right direction to learn what i need to thanks.