Returns the position in screen coordinates where the touch event is currently located.
class property CurrentPos [const Index: Cardinal]: TAgkPoint;
|
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.
|