# Repair a broken rig

The script has a build in repair function if one of the rigged layers are accidentually broken (pseudo effect is missing or one expression missing etc.). Just select the layer with the broken rig, hold down the **shift key** and click the RigtRect button. The script will try to detect the layer and fix the rig. This function is also available within the [KBar support](/rigtrect/functions/kbar-support.md).

![](/files/-M0cJoppV6BiHcgqpng4)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dezignphreak.com/rigtrect/functions/repair-a-broken-rig.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
