AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawTouch.Released Property

Returns True if the touch has been released.

Syntax
Pascal
class property Released [const Index: Cardinal]: Boolean;
Parameters 
Description 
Index 
The index of the event to check, received from FirstEvent or NextEvent

This will always be True for short events. Hold and drag events will keep reporting False until they are released at which point you may wish to take some action. Each event will only report released as True once before being removed from the event list. If a touch event is ignored (not queried) for one frame after it is released it will be deleted from the event list.

Copyright (c) 2012. All rights reserved.