# RaycastResult

A userdata object representing a <strong>raycast result</strong>.

**Kind:** API page

**Environments:** Game

## Game

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

A <strong>raycast result</strong> is a collection of data received from a raycast. The result contains information about where the raycast travelled and what objects it eventually hit.

Raycast results are the result of functions such as [sm.physics.raycast](../Game-Script-Environment/Static-Functions/sm.physics.md#raycast), [sm.physics.distanceRaycast](../Game-Script-Environment/Static-Functions/sm.physics.md#distanceraycast) and [sm.localPlayer.getRaycast](../Game-Script-Environment/Static-Functions/sm.localPlayer.md#getraycast).
