# Mask Adjust

| Message                      | Description                                                                      | Arguments |
| ---------------------------- | -------------------------------------------------------------------------------- | --------- |
| `/mixeffect/usk/mask/adjust` | Adjusts a single mask parameter for the Luma, Chroma, or Pattern upstream keyer. | Multiple  |

| Argument         | Type    | Description                                                                                                                                                                                                                                           |
| ---------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Mask Parameter   | String  | <p>top<br>bottom<br>left<br>right</p>                                                                                                                                                                                                                 |
| Adjustment Value | Float   | -X to reduce the current mask parameter setting by a certain amount or Y to increase the mask parameter setting by a certain amount.                                                                                                                  |
| USK              | Integer | One-based index of the Upstream Keyer. Default is 1.                                                                                                                                                                                                  |
| M/E              | Integer | One-based index of the Mix Effect Bus. Default is 1.                                                                                                                                                                                                  |
| Duration         | Integer | <p>(Optional)<br>0 = Off<br>1-10000 = Number of milliseconds to tween the parameters. Default is 0.</p>                                                                                                                                               |
| Style            | Integer | <p>(Optional)<br>0 = Cosine<br>1 = Cubed<br>2 = Inverse Cubed<br>3 = Inverse Squared<br>4 = Linear<br>5 = Sine<br>6 = Smooth Step<br>7 = Smoother Step<br>8 = Squared<br>9 = Ease In Out Elastic<br>10 = Ease Out Bounce<br>11 = Ease Out Elastic</p> |

> **Note**: If you want to adjust an individual mask setting for the DVE upstream keyer, use the USK DVE Mask Adjust action.
