i am new to greenfoot so, i don't know much. i am trying to make the stickman move right only when i make noise but, i am stuck.
public class GreenfootSound extends Actor
{
/** play music and move stickman
*
*/
public void Play()
{
Greenfoot.playSound("move.wav");
move(3);
}
}
can anybody help me to solve this problem? thanks in advance!!!

