---
title: "SnapSpec"
description: "[SnapSpec] describes a jump-cut type of animation. It immediately snaps the animating value to
the end value."
type: "class"
---

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


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

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


```kotlin
public class SnapSpec<T>(public val delay: Int = 0) : DurationBasedAnimationSpec<T>
```


`SnapSpec` describes a jump-cut type of animation. It immediately snaps the animating value to
the end value.

#### Parameters

| | |
| --- | --- |
| delay | the amount of time (in milliseconds) that the animation should wait before it starts. Defaults to 0. |




