ok when mouse clicked i want it to play a sound i made give me an examle code
Hi @Jesse_Gagne! The tutorial page below explains how to make this. Unfortunately, the corresponding project is no longer available because it is outdated. Hopefully the project will be updated and added to the page soon by the PlayCanvas team.
I have found the available project where you can use the scripts from.