> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-lua-api-de/library-functions/tutorial/tutorial.disablecontrols.md).

# Tutorial.DisableControls

## `Tutorial.DisableControls([control, ...])`

Das Gegenstück zu Tutorial.DisableExcept. Schaltet alle Controls aus, die in den Parametern stehen

#### Rückgabewert

none

#### Beispiel

```lua
-- schaltet die Knöpfe "Freie Siedler"/"Spezialisten" Auswählen und "Spezialisten" Erhöhen aus
Tutorial.DisableControls(
        Control.BTN_SPECIALIST_UP,
        Control.BTN_SETTLERS,
        Control.BTN_SETTLERS_SPECIALISTS,
        Control.BTN_SPECIALIST1
)
-- Funktion die nichts ausstellt, somit gar nichts macht.
Tutorial.DisableControls()
```
