# 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()
```


---

# 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.settlers-united.com/s4-lua-api-de/library-functions/tutorial/tutorial.disablecontrols.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.
