<div>I am having difficulty getting the following example to work using either delay or step:<br></div><div><br></div><div>aMorph := Morph new.
<br></div><div>aMorph position: (100@100).<br></div><div>aMorph openInWorld.
<br></div><div>30 timesRepeat: [aMorph position: aMorph position +(1@0).
 Transcript show: 'test '; cr.].
<br></div><div>(aMorph position) >= (120@100) ifTrue: [aMorph color: Color yellow].<br></div><div>Transcript show: 'position: ', aMorph position; cr.<br></div><div><br></div><div>For example:<br></div><div><br></div><div>aMorph := Morph new.
<br></div><div>aMorph position: (100@100).
<br></div><div>aMorph openInWorld.
<br></div><div>
delay := Delay forMilliseconds: 20.<br></div><div>
[30 timesRepeat: [aMorph position: aMorph position +(1@0). delay wait.].] fork.
<br></div><div>(aMorph position) >= (110@100) ifTrue: [aMorph color: Color yellow].<br></div><div>Transcript show: 'position: ', aMorph position; cr.<br></div><div><br></div><div>In the first example the morph moves, changes color, and the Transcript shows its final position. However, in the second example the morph moves but does not change color and the Transcript shows its starting position.<br></div>