Body.getMass

Returns the mass of a body.

Kind: Function

Environments: Game

Game

body:getMass(  )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.

Returns:

Type Description
number The body's mass.