<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -",
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxTimingAPI_v4/durationTime(forEffect:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxTimingAPI_v4(im)durationTimeForEffect:"
  },
  "title" : "durationTime(forEffect:)"
}
-->

# durationTime(forEffect:)

Provides the duration time for the effect.

```
func durationTime(forEffect duration: UnsafeMutablePointer<CMTime>!)
```

## Parameters

`duration`

The duration time for the effect, expressed in `CMTime`.

## Discussion

In Motion, the value this method provides specifies the duration of the effect in the project. In Final Cut Pro, because the effects you use in a template don’t need to cover the whole effect source clip, this value represents the duration of the effect inside the template, not the duration of the template when the user applies it to a clip on the timeline. However, in most use-cases the effect duration is equal to the template duration.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)