# sideBounce

> Whether bounce should be used on the platform sides or not.

## Definition

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

> **Warning:**
>
> **Removed.** PlatformEffector2D.sideBounce has been obsolete. Use PlatformEffector2D.useSideBounce instead
>
> **Upgrade to** [PlatformEffector2D.useSideBounce](/engine/6000.6/script-reference/unityengine/platformeffector2d/usesidebounce.md)

```csharp
public bool sideBounce { get; set; }
```

### Remarks

This is useful to stop bouncing of a [Collider2D](/engine/6000.6/script-reference/unityengine/collider2d.md) when in contact with a vertical surface.  The "sides" are defined as the edges perpendicular to the "top" surface(s) in local-space.
