> my attempt...
>
> wait loopindex*delay
>
Thank you, still, unfortunately, not what I was looking for, but very interesting to see how people tackle same problem.
you asked for a loop this is what mine does (I used a for/next rather than a repeat) inside a condition - what more do you want ?
On Mouse.click
--for count = 1 to 90 -- System.Wait(1)
-- Sprite.Rotate(-1)
as you have this (wait 1) it will run through its loop 90 times (almost instantly) but each loop will be delayed by 1 second so ALL 90 loop will run instantly be delayed by 1 second so ALL of the 90 loop will finish 1 second after they have started.
now...
do the loop again but with wait (loopindex) ALL 90 will loop instantly and then carry on with the rest of the program BUT the first will delay by 1 second(and therefore rotate the sprite 1 degree 1 second after the loop starts), the second loop will delay by 2 seconds(and therefore rotate the sprite 1 degree 2 second after the loop starts), the third by 3 seconds, etc until loop 90 will finish 90 seconds later and your sprite will have travelled 90 degrees.
Run (my) Capx (again ?) but replace the for/next with repeat 90 - works as expected ?