<div class='type'>Function</div>


<a id='references'></a>


<h2 id="snap-delaymillis">snap</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
public fun <T> snap(delayMillis: Int = 0): SnapSpec<T>
```


Creates a Snap animation for immediately switching the animating value to the end value.

#### Parameters

| | |
| --- | --- |
| delayMillis | the number of milliseconds to wait before the animation runs. 0 by default. |