Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Morph method stepTime
Last updated at 3:09 pm UTC on 29 August 2016
Instances of class Morph respond to a method #stepTime.

stepTime
	"Answer the desired time between steps in milliseconds. This default implementation requests that the 'step' method be called once every second."

	^ self topRendererOrSelf player ifNotNil: [10] ifNil: [1000]


The implementation shows that the default value is 1000ms = 1 second.

This indicate how often the framework calls the #step method.



See How do I set the Morph stepping interval?

For #stepTime: mSecsPerStep see for example UpdatingStringMorph