Body.getWorld

Returns the world a body exists in.

Kind: Function

Environments: Game

Game

body:getWorld(  )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.

Returns:

Type Description
World The world the body exists in.