Sorry, I've posted a lot just here, but I forgot that to make the cursor move to the touch coordinates, you can just put SPOFS cursor CN, TX, TY somewhere in the loop.