# GetPlaybackState()

> Returns all the data that relates to the current internal state of the Particle System.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ParticleSystemModule

```csharp
public ParticleSystem.PlaybackState GetPlaybackState()
```

### Returns

| Type                                                                                         | Description                                        |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [PlaybackState](/engine/6000.0/script-reference/unityengine/particlesystem/playbackstate.md) | The current internal state of the Particle System. |

### Remarks

If you want to restore the Particle System to its current state in the future, store the PlaybackState this function returns along with [ParticleSystem.GetParticles](/engine/6000.0/script-reference/unityengine/particlesystem/getparticles.md) and [ParticleSystem.GetTrails](/engine/6000.0/script-reference/unityengine/particlesystem/gettrails.md).

Additional Resources: [ParticleSystem.PlaybackState](/engine/6000.0/script-reference/unityengine/particlesystem/playbackstate.md), [ParticleSystem.SetPlaybackState](/engine/6000.0/script-reference/unityengine/particlesystem/setplaybackstate.md), [ParticleSystem.GetTrails](/engine/6000.0/script-reference/unityengine/particlesystem/gettrails.md).
