TouchX()

Syntax

Result = TouchX(Finger)
Description
Returns the finger 'x' position (in pixels) on the current screen. ExamineTouchScreen() should be called before this function to update the actual finger position.

Parameters

Finger The finger to get the value. Up to five fingers are supported at once, value can be between 0 and 4. TouchScreenPushed() can be used to know which fingers are currently on the screen.

Return value

The actual finger 'x' position (in pixels) on the current screen.

See Also

ExamineTouchScreen(), TouchY()

Supported OS

All

<- TouchScreenPushed() - TouchScreen Index - TouchY() ->