# Script Panel

{% embed url="<https://youtu.be/8Dar_4mdejo>" %}
Let's Make some Audio Callouts and Play Audio Files... Text to Speech would also Work
{% endembed %}

{% embed url="<https://youtu.be/v55nG44P0Ys>" %}
Use the Script Panel to track L:Vars and write Sim Vars for vPilot
{% endembed %}

{% embed url="<https://youtu.be/6g46HfgVaEw>" %}
Let's play with the Script Panel to Pause the Sim For us!
{% endembed %}

Using an L:Var, an Expression and a Local Variable we will create a Script Panel Conditional Action to Pause the AAU2 WT 787 at the Top of Descent!

{% embed url="<https://youtu.be/_ctv-IoEcHA>" %}
Pause the AAU2 WT 787 at Top of Descent
{% endembed %}


---

# 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.spadnext.com/guides-and-videos/videos-device-specific/script-panel.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.
