We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I am making a music based data visualisation using p5.js for a university assignment. I want the user to be able to click on a specific place for the song to play and to click again to pause the song. I have already loaded the song and used the mousePressed function but I am having difficulty applying this to a specific place. Please, could someone help me? I am very new to p5.js. Thank you.