# Buildings.CrushBuilding

## `Buildings.CrushBuilding(ID)`

Reißt ein Gebäude ab. Dies kann unter anderem genutzt werden, um den Spieler am Bau bestimmter Gebäude zu hindern.

#### Rückgabewert

none

#### Beispiel

```lua
Buildings.CrushBuilding(Buildings.GetFirstBuilding(4, Buildings.GUARDTOWERSMALL))  --//Ermittelt den kleinen Turm des vierten Spielers mit der kleinsten ID und reißt ihn ab.
Buildings.CrushBuilding(Buildings.AddBuilding(150,75,1,Buildings.GUARDTOWERBIG)) --//P
```


---

# 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/buildings/buildings.crushbuilding.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.
