AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawTouch.LastY Property

Returns the Y position in screen coordinates where the touch event was last recorded before its current location.

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

This coordinate will be in view coordinates. If you are offsetting the view port you may want to convert it to world coordinates using TAgkScene.ScreenToWorld.

Copyright (c) 2012. All rights reserved.