Body.getShapesByUuid

Returns a table of all shapes that are part of a body and have a specified uuid.

Kind: Function

Environments: Game

Game

body:getShapesByUuid( uuid )

Open the full Game reference

This will not return shapes in neighbouring bodies connected by joints, etc.

Parameters:

Name Type Description
body Body The body.
uuid Uuid The uuid to look for.

Returns:

Type Description
table The table of shapes in a body. {Shape, ...}