World:getStepCount

Returns the step count of the World. The step count influences how many steps are taken during a call to World:update. A higher number of steps will be slower, but more accurate. The default step count is 20.

steps = World:getStepCount()

Arguments

None

Returns

NameTypeDescription
stepsnumber The step count.

See also