# ShapeClass.server_canErase

Called to check whether the [Shape](../Game-Script-Environment/Userdata/Shape.md) can be erased at this moment.

**Kind:** Callback

**Environments:** Game

## Game

**Callback side:** Server

``` { .lua .api-signature }
ShapeClass:server_canErase(  )
```

[Open the full Game reference](../Game-Script-Environment/Classes/ShapeClass.md#server_canerase)

> **Note:**
> Can be used to override restrictions. (See [Shape.erasable](../Game-Script-Environment/Userdata/Shape.md#erasable))

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `self` | table | The class instance. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | A boolean indicating whether the [Shape](../Game-Script-Environment/Userdata/Shape.md) can be erased or not. (Defaults to true) |
