---
title: Pause(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/pause
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/timerstateextensions/pause.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:51:43.933Z
locale: en-us
---

# Pause(ref TimerState)

> Pauses a TimerState, so that it doesn't advance during following updates of the TimerState. The behavior of a TimerState when paused is the same as stopped, 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)

## Pause(TimerState)

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

### Parameters

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

### Remarks

[TimerState.PlayState](/engine/7000.0/script-reference/unity/animations/timerstate/playstate.md) becomes [TimeControlState.Paused](/engine/7000.0/script-reference/unity/animations/timecontrolstate/paused.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.
