---
title: frameOverTime
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/unityengine/particlesystem/texturesheetanimationmodule/frameovertime
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/particlesystem/texturesheetanimationmodule/frameovertime.md
last_updated: 2026-09-14
generated_at: 2026-11-16T01:48:33.993Z
locale: en-us
---

# frameOverTime

> A curve to control which frame of the Texture sheet animation to play.

## Definition

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

```csharp
public ParticleSystem.MinMaxCurve frameOverTime { get; set; }
```

### Remarks

The system uses this property when [ParticleSystem.TextureSheetAnimationModule.timeMode](/engine/6000.3/script-reference/unityengine/particlesystem/texturesheetanimationmodule/timemode.md) is set to Curve. Additional Resources: [ParticleSystem.MinMaxCurve](/engine/6000.3/script-reference/unityengine/particlesystem/minmaxcurve.md).

### Examples

```csharp
using UnityEngine;

[RequireComponent(typeof(ParticleSystem))]
public class ExampleClass : MonoBehaviour
{
    private ParticleSystem ps;

    void Start()
    {
        ps = GetComponent<ParticleSystem>();

        var main = ps.main;
        main.startLifetimeMultiplier = 2.0f;

        var tex = ps.textureSheetAnimation;
        tex.enabled = true;
        tex.numTilesX = 4;
        tex.numTilesY = 2;

        // A simple ping-pong curve.
        AnimationCurve curve = new AnimationCurve();
        curve.AddKey(0.0f, 0.0f);
        curve.AddKey(0.5f, 1.0f);
        curve.AddKey(1.0f, 0.0f);

        // Apply the curve.
        tex.frameOverTime = new ParticleSystem.MinMaxCurve(1.0f, curve);
    }
}
```
