# Sandbox.Utility.Easing.CubicBezier

```csharp
static Function CubicBezier(float x1, float y1, float x2, float y2)
```

Cubic bezier easing with control points (x1,y1) and (x2,y2). The curve runs from (0,0) to (1,1).
Matches the CSS `cubic-bezier(x1, y1, x2, y2)` timing function.

### Parameters

- `x1` (`float`)
- `y1` (`float`)
- `x2` (`float`)
- `y2` (`float`)

### Returns

`Function`

Declared in [Sandbox.Utility.Easing](/api/Sandbox.Utility.Easing).
Assembly: `Sandbox.System`.
