# Sandbox.UI.CurveEditor.MoveKey

```csharp
void MoveKey(int index, float time, float value)
```

Move one key, clamping its time before either neighbour.

### Parameters

- `index` (`int`)
- `time` (`float`)
- `value` (`float`)

Declared in [Sandbox.UI.CurveEditor](/api/Sandbox.UI.CurveEditor).
Assembly: `Sandbox.Engine`.
