# Restricted effects (/docs/rules/no-restricted-effects)

Reports clips using a configured forbidden effect.



{/* Generated by scripts/generate-docs.ts. Do not edit. */}

| Property         | Value                                                                                       |
| :--------------- | :------------------------------------------------------------------------------------------ |
| Id               | `no-restricted-effects`                                                                     |
| Category         | Project                                                                                     |
| Default severity | warning                                                                                     |
| Scope            | [`restricted-effects`](/docs/reference/computed-scopes#restricted-effects) (computed scope) |

## Options [#options]

| Option    | Type   | Default | Description                                                                                          |
| :-------- | :----- | :------ | :--------------------------------------------------------------------------------------------------- |
| `effects` | `json` | `[]`    | Match names, or \{ "matchName", "message"? } to append an explanation. Empty: nothing is restricted. |

## Customize it [#customize-it]

Turn the rule on or off in the panel's Rules settings. To change its options, severity or wording, open it with its cogwheel in the rule editor and save: your copy replaces the built-in rule until you revert it. You can also copy the file below into your rules folder as `no-restricted-effects.rule.json` and edit it. See [Change a built-in rule](/docs/editor/saving#change-a-built-in-rule).

## Rule file [#rule-file]

```json title="no-restricted-effects.rule.json"
{
  "formatVersion": 1,
  "id": "no-restricted-effects",
  "name": {
    "en_US": "Restricted effects",
    "de_DE": "Unzulässige Effekte",
    "es_ES": "Efectos restringidos",
    "fr_FR": "Effets interdits",
    "it_IT": "Effetti vietati",
    "ja_JP": "制限されたエフェクト",
    "ko_KR": "제한된 효과",
    "pt_BR": "Efeitos restritos",
    "ru_RU": "Запрещенные эффекты",
    "zh_CN": "受限效果"
  },
  "description": {
    "en_US": "Reports clips using a configured forbidden effect.",
    "de_DE": "Meldet Clips, die einen als verboten konfigurierten Effekt verwenden.",
    "es_ES": "Detecta clips que usan un efecto prohibido en la configuración.",
    "fr_FR": "Signale les éléments qui utilisent un effet configuré comme interdit.",
    "it_IT": "Segnala le clip che usano un effetto configurato come vietato.",
    "ja_JP": "禁止に設定されたエフェクトを使用しているクリップを報告します。",
    "ko_KR": "금지로 설정된 효과를 사용하는 클립을 보고합니다.",
    "pt_BR": "Relata clipes que usam um efeito proibido configurado.",
    "ru_RU": "Сообщает о клипах, использующих эффект из списка запрещенных.",
    "zh_CN": "报告使用了已配置的禁用效果的剪辑。"
  },
  "category": "project",
  "scope": "restricted-effects",
  "severity": "warning",
  "options": {
    "effects": {
      "type": "json",
      "default": [],
      "description": "Match names, or { \"matchName\", \"message\"? } to append an explanation. Empty: nothing is restricted."
    }
  },
  "checks": [
    {
      "condition": {
        "field": "restricted.matchName",
        "operator": "exists"
      },
      "message": {
        "en_US": "Clip \"{clip.name}\" on {clip.track} uses restricted effect \"{restricted.displayName}\".{restricted.explanation}",
        "de_DE": "Clip „{clip.name}“ auf {clip.track} verwendet den unzulässigen Effekt „{restricted.displayName}“.{restricted.explanation}",
        "es_ES": "Clip \"{clip.name}\" en {clip.track} usa el efecto restringido \"{restricted.displayName}\".{restricted.explanation}",
        "fr_FR": "Élément « {clip.name} » sur {clip.track} utilise l'effet interdit « {restricted.displayName} ».{restricted.explanation}",
        "it_IT": "Clip \"{clip.name}\" su {clip.track} usa l'effetto vietato \"{restricted.displayName}\".{restricted.explanation}",
        "ja_JP": "クリップ「{clip.name}」（{clip.track}）は制限されたエフェクト「{restricted.displayName}」を使用しています。{restricted.explanation}",
        "ko_KR": "{clip.track}의 클립 \"{clip.name}\"이(가) 제한된 효과 \"{restricted.displayName}\"을(를) 사용합니다.{restricted.explanation}",
        "pt_BR": "Clipe \"{clip.name}\" em {clip.track} usa o efeito restrito \"{restricted.displayName}\".{restricted.explanation}",
        "ru_RU": "Клип «{clip.name}» на {clip.track} использует запрещенный эффект «{restricted.displayName}».{restricted.explanation}",
        "zh_CN": "{clip.track} 上的剪辑“{clip.name}” 使用了受限效果“{restricted.displayName}”。{restricted.explanation}"
      }
    }
  ],
  "data": {
    "matchName": "restricted.matchName",
    "displayName": "restricted.displayName"
  }
}
```
