> For the complete documentation index, see [llms.txt](https://docs.miltechsimulations.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.miltechsimulations.com/miltech-mission-hub/detailed-documentation/map-objects/property-trigger.md).

# Property Trigger

A trigger based on a variable such as speed or altitude. You use a trigger value to determine when it fires.

### Attributes

<table data-header-hidden data-full-width="false"><thead><tr><th width="109.99993896484375">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>Active On Start</strong></td><td><strong>Enabled:</strong> the trigger will start evaluating the trigger conditions as soon as the missions starts<br><strong>Disabled:</strong> you need to activate this trigger during the mission</td></tr><tr><td><strong>Fire Once</strong></td><td><strong>Enabled:</strong> the trigger will deactivate (stop evaluating) when it fires a connection for the first time<br><strong>Disabled:</strong> the trigger will keep firing the connected events until it is deactivated</td></tr><tr><td><strong>Property Type</strong></td><td><p>You can select which property / variable to monitor:</p><ul><li>Altitude (Altitude above sea level, feet)</li><li>Altitude Above Ground (feet)</li><li>Speed (Indicated airspeed, knots)</li><li>Ground Speed (<a data-footnote-ref href="#user-content-fn-1">Surface relative</a> ground speed, knots)</li><li>Vertical Speed (knots)</li><li>Heading (True heading, degrees)</li><li>Pitch (degrees, pitch nose down is positive)</li><li>Bank (degrees, bank left is positive)</li><li>Latitude (decimal degrees)</li><li>Longitude (decimal degrees)</li></ul></td></tr><tr><td><strong>Trigger Value</strong></td><td>Value to base the trigger on. By choosing the <em>Higher, Equals, or Lower</em> action, you set the trigger.</td></tr><tr><td><strong>Minimum Duration</strong></td><td>Optional: Minimum time (seconds) that the trigger must be active before it can fire</td></tr><tr><td><strong>Duration Must Be Continuous</strong></td><td><strong>Enabled:</strong> the minimum duration must be reached in one continuous period.<br><strong>Disabled:</strong> separate periods are added together until the total duration is met.</td></tr></tbody></table>

### Actions

<table data-header-hidden><thead><tr><th width="110">Action</th><th>Description</th></tr></thead><tbody><tr><td><strong>Activate</strong></td><td>The trigger start evaluating the trigger conditions</td></tr><tr><td><strong>Deactivate</strong></td><td>The trigger will stop evaluating the trigger conditions</td></tr></tbody></table>

### Events

The events are only fired when the trigger is active

<table data-header-hidden><thead><tr><th width="109.99993896484375">Event</th><th>Description</th></tr></thead><tbody><tr><td><strong>Higher</strong></td><td>Fires when the property value is higher than the <em>trigger value</em></td></tr><tr><td><strong>Equals</strong></td><td>Fires when the property value equals the <em>trigger value</em>. <br><br>Also fires when the value crosses the <em>trigger value</em> (for example, if the value goes from 98 to 103, it will also 'equal' 100)</td></tr><tr><td><strong>Lower</strong></td><td>Fires when the property value is lower than the <em>trigger value</em></td></tr></tbody></table>

## See also

* For more advanced logic, use a [Custom Code](/miltech-mission-hub/developer-sdk/advanced-map-objects/custom-code.md) object.

[^1]: If stationary on a moving ship, the surface relative speed is 0


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.miltechsimulations.com/miltech-mission-hub/detailed-documentation/map-objects/property-trigger.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
