# GameActivityPointerAxes

`#include <GameActivity.h>`

Describe information about a pointer, found in a [GameActivityMotionEvent](https://developer.android.com/reference/games/game-activity/struct/game-activity-motion-event#struct_game_activity_motion_event).

## Summary

You can read values directly from this structure, or use helper functions (`GameActivityPointerAxes_getX`, `GameActivityPointerAxes_getY` and `GameActivityPointerAxes_getAxisValue`).

The X axis and Y axis are enabled by default but any other axis that you want to read **must** be enabled first, using `GameActivityPointerAxes_enableAxis`.


**See also:**
[GameActivityMotionEvent](https://developer.android.com/reference/games/game-activity/struct/game-activity-motion-event#struct_game_activity_motion_event)

| ### Public attributes ||
|---|---|
| `https://developer.android.com/reference/games/game-activity/struct/game-activity-pointer-axes#struct_game_activity_pointer_axes_1a33dc02a13660839442bab6c42023c0ca[GAME_ACTIVITY_POINTER_INFO_AXIS_COUNT]` | `float` |
| `https://developer.android.com/reference/games/game-activity/struct/game-activity-pointer-axes#struct_game_activity_pointer_axes_1af13fcfb7607e229bed7904d0bdda3978` | `int32_t` |
| `https://developer.android.com/reference/games/game-activity/struct/game-activity-pointer-axes#struct_game_activity_pointer_axes_1a9e2248df12055a58e090e5c8ce4f5074` | `float` |
| `https://developer.android.com/reference/games/game-activity/struct/game-activity-pointer-axes#struct_game_activity_pointer_axes_1aca486843c68cce161adb15857e7314e9` | `float` |

## Public attributes

### axisValues

```transact-sql
float GameActivityPointerAxes::axisValues[GAME_ACTIVITY_POINTER_INFO_AXIS_COUNT]
```

### id

```scdoc
int32_t GameActivityPointerAxes::id
```

### rawX

```text
float GameActivityPointerAxes::rawX
```

### rawY

```text
float GameActivityPointerAxes::rawY
```