---
title: Stop(ref TimerState)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/timerstateextensions/stop
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/timerstateextensions/stop.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:52:23.252Z
locale: en-us
---

# Stop(ref TimerState)

> Stops a TimerState, so that it doesn't advance during following updates of the TimerState. The behavior of a TimerState when stopped is the same as paused, the only difference is how other systems interpret those two states.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

## Stop(TimerState)

```csharp
public static void Stop(this ref TimerState timerState)
```

### Parameters

**** (\[TimerState]\(/engine/7000.0/script-reference/unity/animations/timerstate)): The timer state to stop.

### Remarks

[TimerState.PlayState](/engine/7000.0/script-reference/unity/animations/timerstate/playstate.md) becomes [TimeControlState.Stopped](/engine/7000.0/script-reference/unity/animations/timecontrolstate/stopped.md) on the next [TimerStateExtensions.Update](/engine/7000.0/script-reference/unity/animations/timerstateextensions/update.md). [TimerState.IsPlaying](/engine/7000.0/script-reference/unity/animations/timerstate/isplaying.md) is `false` right away.
