# rubberBand

Resistance for dragging past an extreme. Rises smoothly from 0, always
moves less than the finger and never reaches 48 pixels.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { rubberBand } from "@mapcairn/core";
 
function rubberBand(overshoot: number): number;
```

## Parameters

- `overshoot` (`number`): Pixels past the extreme. Zero or less gives zero.

## Returns

`number`

Source: [packages/core/src/sheet/sheet.ts:142](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/sheet/sheet.ts#L142)
