ShapeClass.server_canErase

Called to check whether the Shape can be erased at this moment.

Kind: Callback

Environments: Game

Game

Callback side: Server

ShapeClass:server_canErase(  )

Open the full Game reference

Note: Can be used to override restrictions. (See Shape.erasable)

Parameters:

Name Type Description
self table The class instance.

Returns:

Type Description
boolean A boolean indicating whether the Shape can be erased or not. (Defaults to true)