# Shape.shapeExists

Return true if a shape exists.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
shape:shapeExists(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Shape.md#shapeexists)

> **Deprecated:**
> use [sm.exists](../Game-Script-Environment/Static-Functions/sm.md#exists)
>

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `shape` | [Shape](../Game-Script-Environment/Userdata/Shape.md) | The shape. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | Whether the shape exists. |
