<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxParameterSettingAPI_v5/setParameterFlags(_:toParameter:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxParameterSettingAPI_v5(im)setParameterFlags:toParameter:"
  },
  "title" : "setParameterFlags(_:toParameter:)"
}
-->

# setParameterFlags(_:toParameter:)

Sets the flags for the state of a parameter.

```
func setParameterFlags(_ flags: FxParameterFlags, toParameter parameterID: UInt32) -> Bool
```

## Parameters

`flags`

Specified flag values for the parameter.

`parameterID`

Unique identifier for the parameter.

## Return Value

Returns `YES` if the value is set successfully; `NO` otherwise.

## Discussion

Setting or resetting the `kFxParameterFlag_HIDDEN` flag on a `ParameterSubGroup` parameter will also hide or reveal all of the controls within the group. Likewise, changing the `kFxParameterFlag_DISABLED` flag value affects all of the controls within the group as well.

---

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)