# loopTime

> Controls whether Unity blends the first and last frames to create smooth time-based looping.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool loopTime { get; set; }
```

### Remarks

This property specifically handles the temporal aspect of looping by ensuring smooth transitions between the end and beginning of the animation clip.

When enabled, Unity analyzes the first and last frames of the animation and applies blending to eliminate discontinuities in the animation curves over time. This prevents jarring jumps when the animation loops.

This differs from [ModelImporterClipAnimation.loop](/engine/6000.7/script-reference/unityeditor/modelimporterclipanimation/loop.md) which simply determines whether the clip repeats, and [ModelImporterClipAnimation.loopPose](/engine/6000.7/script-reference/unityeditor/modelimporterclipanimation/looppose.md) which handles pose blending for spatial continuity.

Typically used in combination with `loop = true` for cyclical animations where temporal smoothness is important, such as walk cycles or ambient animations.
