# Sprites

> Use a list of sprites to construct a sequence of animation frames.

## Definition

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

```csharp
Sprites = 1
```

### Remarks

Defines the sprites that are added to Texture Sheet Animation.

Additional Resources: [ParticleSystemAnimationMode.Grid](/engine/6000.5/script-reference/unityengine/particlesystemanimationmode/grid.md)

### Examples

```csharp
using UnityEngine;

// A particle sprite example.
// The gameobject this script is attached to must have the
// ParticleSystem attached.  The TextureSheetAnimation mode
// is set to Sprites.  This script adds a single texture to
// the ParticleSystem.

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

    void Start()
    {
        ps = GetComponent<ParticleSystem>();
        sprite = Sprite.Create(tex, new Rect(0.0f, 0.0f, tex.width, tex.height), Vector2.zero);

        var textureSheetAnimation = ps.textureSheetAnimation;
        textureSheetAnimation.enabled = true;
        textureSheetAnimation.mode = ParticleSystemAnimationMode.Sprites;
        textureSheetAnimation.AddSprite(sprite);
    }
}
```
