Body.setUsable

Controls whether a body is interactable

Kind: Function

Environments: Game

Game

body:setUsable( value )

Open the full Game reference

Availability: Server only

Parameters:

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