# GetAnimationFrameCount(Vector3Int)

> Retrieves the number of animation frames for a Tile at the given position.

## Definition

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

```csharp
public int GetAnimationFrameCount(Vector3Int position)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.0/script-reference/unityengine/vector3int)): Grid cell position.

### Returns

| Type                                                       | Description                                                                                                      |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Returns the number of animation frames. Returns 0 when there is no animation for the Tile at the given position. |

### Remarks

Returns 0 if there is no animation for a Tile at the given position.
