# sm.tool.checkLiftCollision

Used to check collisions between the lift and the world.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.tool.checkLiftCollision( creation, position, rotation )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.tool.md#checkliftcollision)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `creation` | table | A table of all the bodies belonging to the creation placed on the lift. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The lift position. |
| `rotation` | integer | The rotation of the creation on the lift. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | True if the lift collides with the world |
| integer | The lift level. |
