You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > sleepTimeThreshold

19.9.29 sleepTimeThreshold

sleep = physics.Space:sleepTimeThreshold()

Parameter

Type

Description

self

in physics.Space

The input simulation Space

sleep

out number

The threshold time used to determine when a Shape can be put to sleep

Introduced in platform.apiLevel = '2.0'