B2.Body:setAwake
From GiderosMobile
Available since: Gideros 2012.2.2.1
Class: b2.Body
Description
Set the sleep state of the body. A sleeping body has very low CPU cost.
b2.Body:setAwake(awake)
Parameters
awake: (boolean) set to true to wake body, false to put it to sleep