<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxParameterCreationAPI_v5/addAngleSlider(withName:parameterID:defaultDegrees:parameterMinDegrees:parameterMaxDegrees:parameterFlags:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxParameterCreationAPI_v5(im)addAngleSliderWithName:parameterID:defaultDegrees:parameterMinDegrees:parameterMaxDegrees:parameterFlags:"
  },
  "title" : "addAngleSlider(withName:parameterID:defaultDegrees:parameterMinDegrees:parameterMaxDegrees:parameterFlags:)"
}
-->

# addAngleSlider(withName:parameterID:defaultDegrees:parameterMinDegrees:parameterMaxDegrees:parameterFlags:)

Creates an angle slider parameter and adds it to the plug-in’s parameter list.

```
func addAngleSlider(withName name: String, parameterID: UInt32, defaultDegrees: Double, parameterMinDegrees minDegrees: Double, parameterMaxDegrees maxDegrees: Double, parameterFlags flags: FxParameterFlags) -> Bool
```

## Parameters

`name`

Name of the parameter in the user interface.

`parameterID`

Unique identifier for a parameter. Used to retrieve, set, or validate the parameter.

`defaultDegrees`

Initial angle value for the parameter, in counter-clockwise degrees.

`minDegrees`

Minimum value for the parameter, in counter-clockwise degrees.

`maxDegrees`

Maximum value for the parameter, in counter-clockwise degrees.

`flags`

Flags that encode various state values for the parameter.

## Return Value

Returns `YES` if the application successfully creates an angle slider parameter; `NO` otherwise.

## Discussion

The min, max, and default values are expressed in degrees. Use [`getFloatValue(_:fromParameter:at:)`](/documentation/professional_video_applications/FxParameterRetrievalAPI_v6/getFloatValue(_:fromParameter:at:)) to retrieve the angle parameter value in radians.

---

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)