Body.setConnectable

Controls whether a body is connectable

Kind: Function

Environments: Game

Game

body:setConnectable( value )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
body Body The body.
value boolean Whether the body is connectable.