---
title: "activate(timeToTargetOverride:)"
framework: phase
role: symbol
role_heading: Instance Method
path: "phase/phasegrouppreset/activate(timetotargetoverride:)"
---

# activate(timeToTargetOverride:)

Applies settings with an overriden fade duration.

## Declaration

```swift
func activate(timeToTargetOverride: Double)
```

## Parameters

- `timeToTargetOverride`: A duration in which the engine fades the settings from their original value to their new value. Overrides doc://com.apple.phase/documentation/PHASE/PHASEGroupPreset/timeToTarget.

## See Also

### Activating a Group Preset

- [activate()](phase/phasegrouppreset/activate().md)
