# Temperature

## Trigger On Temperature

<figure><img src="/files/Au84qQaNPhbLmavmapAr" alt=""><figcaption><p>Using the <a href="/pages/6cM68YyeVbii9RBCgYE0"> '<mark style="color:red;">On Temperature</mark></a>' Trigger. Consider using interval type <strong>Hour</strong> or <mark style="color:yellow;">'</mark><a href="/pages/Bj4qEo6IzuhFdOtwMviQ"><mark style="color:yellow;">On Any Weather</mark></a><mark style="color:yellow;">'</mark> Trigger instead if temperature isn't a major part of the game logic.</p></figcaption></figure>

## Display Temperature in UI

<figure><img src="/files/EZSGUeUqeEZGKjsOIyum" alt=""><figcaption><p>Using the <mark style="color:red;">'</mark><a href="/pages/3UpSyGbnGGPL3b5ATpSM"><mark style="color:red;">On Time Interval</mark></a><mark style="color:red;">'</mark> Trigger with an '<mark style="color:yellow;">Set Text</mark>' Instruction. Consider using interval type hour or '<a href="/pages/Bj4qEo6IzuhFdOtwMviQ"><mark style="color:yellow;">On Any Weather</mark></a>' Trigger instead if temperature isn't a major part of the game logic. Make sure Trigger On Start is enabled so it initialize the UI on start.</p></figcaption></figure>

## Check the temperature

<figure><img src="/files/F4JlNM2RA3txvpsTjtmS" alt=""><figcaption><p>On the left side, <a href="/pages/tWwiyUxTwg6Yffhf2gWj"><mark style="color:red;">Compare Temperature</mark></a> to easily check for a specific temperature degree value or range. Use Check Whole Degree Range to verify if a temperature matches a specific whole degree value. On the right side, <mark style="color:blue;">Compare Decimal</mark> to check for temperature values spanning multiple degrees</p></figcaption></figure>

## Setting the temperature

{% hint style="info" %}
The climate module needs to be set to native to override temperatures.

*This can be done using the* [*Set Time Curve*](/info/game-creator-2-assets/cozy-stylized-weather-integration/instructions/set-time-curve.md) *instruction.*
{% endhint %}

<figure><img src="/files/3C4AAWzGznAD9yJbdNbp" alt=""><figcaption><p>Using the '<mark style="color:blue;">Set Number</mark>' Instruction.</p></figcaption></figure>


---

# 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.fullscreen.no/info/game-creator-2-assets/cozy-stylized-weather-integration/guides-and-demo-scene/temperature.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.
