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

# Disabling an element

> Disable an element in the FlexiLayout tree to exclude it from matching without deleting it, handle dependent element errors, and re-enable it later.

Sometimes, when debugging a FlexiLayout, you may need to disable an element without removing it from the FlexiLayout tree. In this case, you may *disable* such an element. All the information about the element will be stored in the FlexiLayout, but it will be ignored during the matching process.

<Note>
  If the disabled element is referred to by other elements, these elements will be marked with an error icon. In this case, you can either disable the dependent elements, or delete the references to the disabled elements in their properties.
</Note>

## Disable an element

<Steps>
  <Step title="Select the element in the FlexiLayout tree" />

  <Step title="Select the Disable command">
    Select **Disable** from the **FlexiLayout** menu.
  </Step>
</Steps>

## Enable an element

<Steps>
  <Step title="Select the element in the FlexiLayout tree" />

  <Step title="Select the Enable command">
    Select **Enable** from the **FlexiLayout** menu.
  </Step>
</Steps>
