void playSound() { if (!aS.isPlaying && cbref.isMoving() == true) { aS.Play(); //print ("supposed to be playing"); } }