Shape.getBody

Returns the Body a shape is part of.

Kind: Function

Environments: Game

Game

shape:getBody(  )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
Body The body which the shape is part of.