---
title: "addFlags(_:toParameter:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.2.2+]
path: "professional_video_applications/fxparametersettingapi_v6/addflags(_:toparameter:)"
---

# addFlags(_:toParameter:)

Add new parameter flags to the current flags for a parameter.

## Declaration

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

## Parameters

- `flags`: The flags to add.
- `parameterID`: The ID of the parameter whose flags this method appends.

## Return Value

Return Value Returns YES if the method successfully adds the flags; otherwise, NO.

## Discussion

Discussion Use this method to set one or more parameter flags without changing the value of other flags.

## See Also

### Instance Methods

- [removeFlags(_:fromParameter:)](professional_video_applications/fxparametersettingapi_v6/removeflags(_:fromparameter:).md)
