AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawTouch.StartX Property

Returns the X position in screen coordinates where the touch event started.

Syntax
Pascal
class property StartX [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.