# Sandbox.AnimationBuilder.WithFrameRate

```csharp
AnimationBuilder WithFrameRate(float frameRate)
```

Sets the frames per second of the animation.

### Parameters

- `frameRate` (`float`): The playback frame rate.

### Returns

`AnimationBuilder`

Declared in [Sandbox.AnimationBuilder](/api/Sandbox.AnimationBuilder).
Assembly: `Sandbox.Engine`.
