Play(); not working


#1

Hi,
So, i was coding an animation’s main menu and when i went to press play on a button it showed the play function ( play(); ) was not defined (Heres a pic )
image


#2

hi!
i think u need to define WHAT u want it to play? im not sure however ^-^
function mousePressed() {
play(‘something here’);
}


#3

play(); has to be lowercase :slight_smile: