# slideHit

> The specific contact found when a slide movement is performed with Rigidbody2D.Slide.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public RaycastHit2D slideHit { readonly get; set; }
```

### Remarks

When a slide along a surface occurs, the slide may hit a surface tangent to the movement. This [RaycastHit2D](/engine/6000.6/script-reference/unityengine/raycasthit2d.md) represents that contact.

It is possible that movement along a surface occurs without any contact to a surface. In this case, the [RaycastHit2D](/engine/6000.6/script-reference/unityengine/raycasthit2d.md) will be invalid.

**NOTE:** This contact does not represent the surface itself that the movement is tangent to. That is represented by [Rigidbody2D.SlideResults.surfaceHit](/engine/6000.6/script-reference/unityengine/rigidbody2d/slideresults/surfacehit.md).

Additional Resources: [Rigidbody2D.SlideResults.surfaceHit](/engine/6000.6/script-reference/unityengine/rigidbody2d/slideresults/surfacehit.md), [Rigidbody2D.Slide](/engine/6000.6/script-reference/unityengine/rigidbody2d/slide.md) and [Rigidbody2D.SlideMovement](/engine/6000.6/script-reference/unityengine/rigidbody2d/slidemovement.md).
