# GetObjectRayCastSlideX

## Description

Returns the X component of the final resting point for sliding collisions. This is only valid for index 0 and after calling ObjectSphereSlide. Position an object here to make it look like it slid after colliding.

## Definition

float GetObjectRayCastSlideX( index )

float agk::GetObjectRayCastSlideX( UINT index )

## Parameters

- index - The index of the collision to check, starting at index 0.