# Conditions

This Module comes with 8 new conditions specifically for Mobile platforms. Of these Conditions, 4 are general, 2 are for Android only and 2 are for iOS only.

| Condition Name                  | Description                                |
| ------------------------------- | ------------------------------------------ |
| **Check for Accelerometer**     | Returns True or False (iOS and Android)    |
| **Check for Gyroscope**         | Returns True or False (iOS and Android)    |
| **Check for Vibration**         | Returns True or False (iOS and Android)    |
| **Check for Location Services** | Returns True or False (iOS and Android)    |
| **Check if Android**            | Returns True for Android, False for iOS    |
| **Check if iPhone**             | Returns True for iOS, False for Android    |
| **Minimum Android API**         | Checks for API19 through API30 or higher.  |
| **Minimum iPhone API**          | Checks for iOS 10 through iOS14 or higher. |

The last two Conditions include a dropdown selection for the minimum software level to be checked for.

![](/files/-MQvOccK_GAlLLh_0mJO)

These Conditions are used the same as any Game Creator Condition.  For more information on Utility Actions, see [Example 8 - Utilities](https://app.gitbook.com/@piveclabs/s/piveclabs/~/drafts/-MQvMXxMKvG9DJX6x7sg/game-creator/mobile-components-for-game-creator/examples/example-8-utilities).


---

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