> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/elasticbehavior.md).

# ElasticBehavior

## Overview

ElasticBehavior is an Enum that defines the condition for using the elastic effect at the scroll boundary.

It is used in the ElasticBehavior property of ScrollingFrame and determines when to use the effect of going past the scroll boundary and springing back.

## Items

| Name           | Value | Description                                                      |
| -------------- | ----- | ---------------------------------------------------------------- |
| WhenScrollable | 0     | Used only when there is scrollable content. This is the default. |
| Always         | 1     | Always used.                                                     |
| Never          | 2     | Not used.                                                        |

## See also

{% content-ref url="/pages/mynrdpnaLAwMCUWSc9kw" %}
[ScrollingFrame](https://docs.overdare.com/development/api-reference/classes/scrollingframe.md)
{% endcontent-ref %}
