sm.body.getLift
Get the lift a body is on.
Kind: Function
Environments: Game
Game
sm.body.getLift( body )
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| Lift | The lift the body is on, or nil if the body is not on a lift. |