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

# IGameInputReading::GetTouchCount

> IGameInputReading::GetTouchCount

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

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](/reference/input/gameinput/deprecated/structs/gameinputtouchstate) struct.

## Version History

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

## See also

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


## Related topics

- [IGameInputReading::GetTouchState](/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
- [GameInputTouchState](/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md)
- [IGameInputReading::GetKeyCount](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getkeycount.md)
- [IGameInputReading::GetControllerAxisCount](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getcontrolleraxiscount.md)
- [IGameInputReading::GetControllerButtonCount](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getcontrollerbuttoncount.md)
