> For the complete documentation index, see [llms.txt](https://sparkar-community.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sparkar-community.gitbook.io/docs/animationmodule/scalarsampler.md).

# ScalarSampler

The `ScalarSampler` class encapsulates a scalar value sampler.

## Example

```
const Animation = require('Animation');
const timeDriver = //...
const quadraticTransition = Animation.samplers.easeInOutQuad(-0.1, 0.1);
const translationAnimation = Animation.animate(timeDriver, quadraticTransition);
```

## Properties

This module exposes no properties.

## Methods

This module exposes no methods.
