> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SetLatentNoiseMask - ComfyUI Built-in Node Documentation

> Complete documentation for the SetLatentNoiseMask node in ComfyUI. Learn its inputs, outputs, parameters and usage.

This node is designed to apply a noise mask to a set of latent samples. It modifies the input samples by integrating a specified mask, thereby altering their noise characteristics.

## Inputs

| Parameter | Data Type | Description                                                                                                                                   |
| --------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `samples` | `LATENT`  | The latent samples to which the noise mask will be applied. This parameter is crucial for determining the base content that will be modified. |
| `mask`    | `MASK`    | The mask to be applied to the latent samples. It defines the areas and intensity of noise alteration within the samples.                      |

## Outputs

| Parameter | Data Type | Description                                              |
| --------- | --------- | -------------------------------------------------------- |
| `latent`  | `LATENT`  | The modified latent samples with the applied noise mask. |
