GetPointerPressed

Description

This is an emulated input method that uses whatever device inputs are available to produce a screen pointer. If the device has a mouse then this will return 1 if the left mouse button is pressed, 0 if not. Otherwise the AGK will check for a touch screen and, if found, return 1 if one or more touch events exist. 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 commands for getting the state of the pointer press, GetPointerPressed returns 1 the instant the pointer is pressed and then returns 0, GetPointerReleased returns 1 the instant the pointer is released and then returns 0, GetPointerState returns 1 the entire time the pointer is in the pressed state.

Definition

integer GetPointerPressed()