# Examples

These examples show what's possible with Model Train Script's automation. Each one demonstrates a real-world scenario with video and, where available, a downloadable profile you can import.

* [Block control](/docs/manual/automation/examples/block-control.md) — Manage train traffic between block sections using feedback sensors and signals.
* [Auto switch turnout](/docs/manual/automation/examples/auto-switch-turnout.md) — A self-resetting turnout inspired by the HSB narrow-gauge railway.
* [Camera detection](/docs/manual/automation/examples/camera-detection.md) — Use Locovision camera detection to trigger scripts and control trains.

Feel free to [contact us](/docs/about.md) with questions, ideas, or requests for more examples.


---

# 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://modeltrainscript.gitbook.io/docs/manual/automation/examples.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.
