# Example 8 Utilities

![](/files/-MQvX-_3fDIBTVYKH6Ji)

This example uses the Conditions and Utility Actions included in the Module to display data on the UI Canvas, and to fill the Battery icon depending on the charge level.&#x20;

{% hint style="warning" %}
To use this Example, you must first create the variables in the GC Preferences Panel.
{% endhint %}

![](/files/-MQvXgsUlyzgTPR_LQ9V)

This example can be run on either platform as well as in the editor (but some features like Battery level will not show.

![](/files/-MQvZXPQ-CGwRhZHajqr)


---

# 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://profpivec.gitbook.io/documentation-and-tutorials/game-creator/mobile-components-for-game-creator/examples/example-8-utilities.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.
