Returns the Y coordinate of the current pointer position.
class property Y: Single;
If the device has a mouse then this returns the current Y position of the mouse. Otherwise the AGK will check for a touch screen and, if found, will return the Y position of the most recent touch event. If no events are taking place it is the last Y position recorded by a touch event. On devices that have neither mice nor touch screens the AGK will attempt to create some form of screen pointer controlled by analog sticks or similar.
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.