# elasticity

> The amount of elasticity to use when a user tries to scroll past the boundaries of the scroll view.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
[UxmlAttribute]
public float elasticity { get; set; }
```

### Remarks

Elasticity is only used when \_touchScrollBehavior is set to Elastic.
