on setVolumePos case(the soundLevel) of 0: set the locH of sprite 18 to 514 1: set the locH of sprite 18 to 524 2: set the locH of sprite 18 to 538 3: set the locH of sprite 18 to 552 4: set the locH of sprite 18 to 566 5: set the locH of sprite 18 to 580 6: set the locH of sprite 18 to 593 7: set the locH of sprite 18 to 606 end case on setVolume if the locH of sprite 18 <= 514 then set the soundLevel to 0 end if if the locH of sprite 18 > 514 then set the soundLevel to 1 end if if the locH of sprite 18 > 524 then set the soundLevel to 2 end if if the locH of sprite 18 > 538 then set the soundLevel to 3 end if if the locH of sprite 18 > 552 then set the soundLevel to 4 end if if the locH of sprite 18 > 566 then set the soundLevel to 5 end if if the locH of sprite 18 > 580 then set the soundLevel to 6 end if if the locH of sprite 18 > 593 then set the soundLevel to 7 end if end