Yeah. What he had was that you dragged the tiles from the left. I just did it so that you clicked on the tiles and it set the image number to that colour. So i put this:
if mouseclick() = 1 and mousex() > 130
sprite spnum,mousex(),mousey(),tilenum
inc spnum
endif
Depending on what tile you clicked on changed the tilenum which was the variable for the image number. If you see what i mean.
Anyway that cleared things up. I'm going to go and have a nice cup of tea and then go to bed.
Goodnight............... slrrp............ZZZZZZZZZZzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz