Touch screen related functions.
More...
|
| decimal | GetX (integer touchIndex) |
| | Gets the X position of a touch.
|
| decimal | GetY (integer touchIndex) |
| | Gets the Y position of a touch.
|
| boolean | IsDown (integer touchIndex) |
| | Gets whether a touch is currently down on the screen.
|
| boolean | IsPressed (integer touchIndex) |
| | Gets whether a touch just pressed down on the screen.
|
| boolean | IsReleased (integer touchIndex) |
| | Gets whether a touch just released from the screen.
|
Touch screen related functions.
◆ GetX()
| decimal Touch.GetX |
( |
integer | touchIndex | ) |
|
Gets the X position of a touch.
- Parameters
-
- Returns
- Returns a decimal value.
◆ GetY()
| decimal Touch.GetY |
( |
integer | touchIndex | ) |
|
Gets the Y position of a touch.
- Parameters
-
- Returns
- Returns a decimal value.
◆ IsDown()
| boolean Touch.IsDown |
( |
integer | touchIndex | ) |
|
Gets whether a touch is currently down on the screen.
- Parameters
-
- Returns
- Returns a boolean value.
◆ IsPressed()
| boolean Touch.IsPressed |
( |
integer | touchIndex | ) |
|
Gets whether a touch just pressed down on the screen.
- Parameters
-
- Returns
- Returns a boolean value.
◆ IsReleased()
| boolean Touch.IsReleased |
( |
integer | touchIndex | ) |
|
Gets whether a touch just released from the screen.
- Parameters
-
- Returns
- Returns a boolean value.