# RaycastResult.getLiftData

Returns the [Lift](../Game-Script-Environment/Userdata/Lift.md) hit during the raycast. This is only possible if [RaycastResult.type](../Game-Script-Environment/Userdata/RaycastResult.md#type) is equal to "lift", otherwise this will return nil.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
raycastResult:getLiftData(  )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `raycastResult` | [RaycastResult](../Game-Script-Environment/Userdata/RaycastResult.md) | The raycast result. |

**Returns:**

| Type | Description |
| --- | --- |
| [Lift](../Game-Script-Environment/Userdata/Lift.md) | The lift |
| boolean | True if the lift is top |
