> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IGameInputReading::GetTouchCount (Deprecated)

> IGameInputReading::GetTouchCount

> [!WARNING]
>
> **Deprecated.** This method was removed in GameInput v1 and is not available in the current API. This method was never implemented on PC.

Gets the number of active touch contacts in the reading.

## Syntax

```cpp theme={null}
uint32_t GetTouchCount();
```

### Return value

Type: uint32\_t

The number of active touch contacts in this reading.

## Remarks

This method and the associated `GetTouchState` method were removed in v1. Touch input was provided via the [GameInputTouchState](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md) struct.

## Version History

| Version | Changes |
| - | - |
| **v1** | Removed. |
| **v0** | Introduced. |

## See also

[Deprecated GameInput API members](https://docs.xbox.com/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[IGameInputReading::GetTouchState](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)\
[GameInputTouchState](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md)\
[IGameInputReading](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputreading/igameinputreading.md)


## Related topics

- [IGameInputReading::GetTouchState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
- [IGameInputReading::GetMotionState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
- [IGameInputReading::GetUiNavigationState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getuinavigationstate.md)
- [IGameInput::GetTemporalReading (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_gettemporalreading.md)
- [GameInputTouchState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md)
