# GetRawFirstTouchEvent

## Description

Returns an index to the first touch event available for reading. By default the AGK does not count an event until it knows what type of event it is, e.g. short, long, drag, etc. To receive unknown events as well set bIncludeUnknown to 1. Use 0 to ignore unknown events. All you can be sure about with unknown events is that the finger is currently on screen and has been there less than 1 second. After 1 second it automatically becomes a hold event. If the user lifts their finger off the screen it becomes a short event, and if they move their finger it becomes a drag event. If no events are available it returns 0.

## Definition

integer GetRawFirstTouchEvent( bIncludeUnknown )

UINT agk::GetRawFirstTouchEvent( int bIncludeUnknown )

## Parameters

- bIncludeUnknown - Set to true to receive unknown events which may become any type of event in the future.