# Conditions / Expressions

Conditions enable a user to apply "rules or approvals" as to when an Assignment to any Button, Axis, Switch, Encoder — etc .. are allowed to be sent. This Enables users to bind numerous sets of assignments with independent logic for when they will be enabled.

Conditional Templates allow creating a single or series of conditions that can then be wrapped up into a "human readable" Label which can then be quickly selected from a drop down list. This will Super Charge Assignments of complex Condition Sequences and speed up device configuration!

Examples are built in this Guide for the PMDG 737-800 in MSFS 2024 using a TCA Boeing Throttle but the premise can be applied to any number of devices as it covers: Throttles, Rev Switches, AP Mode Selectors and Encoders + Buttons with Multiple Assignments based on Modes.

{% embed url="<https://youtu.be/NJ0U5ugV0XY>" %}


---

# 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/conditions-expressions.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.
