WolRon #1 or alternatively:mousewheel=MouseZ() If mousewheel>MlastPos Then tileindex=tileindex+1 : MlastPos = mousewheel If mousewheel<MlastPos Then tileindex=tileindex-1 : MlastPos = mousewheel