In my game, I made a custom slider with a sprite vertical bar and a sprite slider.
SLider moves on the bar through constraint drag behavior with a step of 10 pixels, meaning the dragging is not fluid. I'd like to play a ticking noise when the slider moves step by step. How can I do that ?
I thought of having a listener listening for the slider Y coordinate to change and then play the sound.
I tried many different approaches but no success.
How can I do that ?