RaycastResult.getLiftData

Returns the Lift hit during the raycast. This is only possible if RaycastResult.type is equal to "lift", otherwise this will return nil.

Kind: Function

Environments: Game

Game

raycastResult:getLiftData(  )

Open the full Game reference

Parameters:

Name Type Description
raycastResult RaycastResult The raycast result.

Returns:

Type Description
Lift The lift
boolean True if the lift is top