[Newbies] isStepping question
cwdw01 at earthlink.net
Sat Nov 7 13:18:44 UTC 2009
If I have a morph that is stepping through some process I know I can test
for whether or not it is still stepping by using the isStepping method.
But, how to I put this into a loop so that the next instruction doesn't
start until the stepping is done.
Here is my mouseDown code. I want to put something in before the last
instruction so it doesn't execute until isStepping becomes false.
path := OrderedCollection new.
0 to: 9 do: [:i | path add: self position + (0@(10 * i))].
path := path, path reversed.
self owner moveTheGameBall.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners