---
title: "init(relativeTime:value:)"
framework: corehaptics
role: symbol
role_heading: Initializer
path: "corehaptics/chhapticparametercurve/controlpoint/init(relativetime:value:)"
---

# init(relativeTime:value:)

Creates a control point from its time and value.

## Declaration

```swift
init(relativeTime time: TimeInterval, value: Float)
```

## Parameters

- `time`: The time at which the associated parameter reaches this value, relative to the parameter curve’s start time.
- `value`: The value of the parameter at this control point.
