---
title: "setParameterFlags(_:toParameter:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.0+]
path: "professional_video_applications/fxparametersettingapi_v5/setparameterflags(_:toparameter:)"
---

# setParameterFlags(_:toParameter:)

Sets the flags for the state of a parameter.

## Declaration

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

## Parameters

- `flags`: Specified flag values for the parameter.
- `parameterID`: Unique identifier for the parameter.

## Return Value

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

## Discussion

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.

## See Also

### Instance Methods

- [setBoolValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setboolvalue(_:toparameter:at:).md)
- [setCustomParameterValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setcustomparametervalue(_:toparameter:at:).md)
- [setFloatValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setfloatvalue(_:toparameter:at:).md)
- [setHistogramBlackIn(_:blackOut:whiteIn:whiteOut:gamma:forChannel:fromParameter:at:)](professional_video_applications/fxparametersettingapi_v5/sethistogramblackin(_:blackout:whitein:whiteout:gamma:forchannel:fromparameter:at:).md)
- [setIntValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setintvalue(_:toparameter:at:).md)
- [setPathID(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setpathid(_:toparameter:at:).md)
- [setRedValue(_:greenValue:blueValue:alphaValue:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setredvalue(_:greenvalue:bluevalue:alphavalue:toparameter:at:).md)
- [setRedValue(_:greenValue:blueValue:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setredvalue(_:greenvalue:bluevalue:toparameter:at:).md)
- [setStringParameterValue(_:toParameter:)](professional_video_applications/fxparametersettingapi_v5/setstringparametervalue(_:toparameter:).md)
- [setXValue(_:yValue:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setxvalue(_:yvalue:toparameter:at:).md)
