Checks if the pointer is currently down.
class function Down: Boolean; static;
True if the pointer is down, False if not.
If the device has a mouse then this will return True if the left mouse button is currently down, False if not. Otherwise the AGK will check for a touch screen and, if found, return True if one or more touch events are currently being pressed. 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.
There are three methods for getting the state of the pointer press: Pressed returns True the instant the pointer is pressed and then returns False. Released returns True the instant the pointer is released and then returns False. Down returns True the entire time the pointer is in the pressed state.
TAgkPointer
Copyright (c) 2012. All rights reserved.
|