Difference between revisions of "Body:isAwake"

(Added Body:isAwake.)
 
m
 
Line 1: Line 1:
{{newin|[[0.8.0]]|type=method}}
+
{{newin|[[0.8.0]]|080|type=method}}
 
Returns the sleep status of the body.
 
Returns the sleep status of the body.
  

Latest revision as of 13:45, 4 May 2012

Available since LÖVE 0.8.0
This method is not supported in earlier versions.

Returns the sleep status of the body.

Function

Synopsis

status = Body:isAwake( )

Arguments

None.

Returns

boolean status
True if the body is awake or false if not.

See Also


Other Languages