Skip to main content

TheTouchLocation

Type

expression

Summary

The location of the current touch

Syntax

the touch position

Description

The location of the current touch

Examples

   variable tPosition as Point
put the touch position into tPosition

variable tRect as Rectangle
put my bounds into tRect

if tPosition is within tRect then
// touch position is within the widget bounds
end if

Value

NameTypeDescription

return

The position of the current touch relative to the widget

Thank you for your feedback!

Was this page helpful?