Skip to main content

7 docs tagged with "Touch"

View all tags

Touch

Interface for handling touch interactions on Android devices.

Touch:dispatch()

Dispatches all pending touch events to the system. This method is useful when you want to ensure all touch events are processed immediately.

Touch:down()

Performs a touch down action at the specified coordinates or point.

Touch:exit()

Exits and cleans up the touch interface. This method should be called when you're done using the touch interface.

Touch:init()

Initializes the touch interface. This method must be called before using any other touch methods.

Touch:move()

Performs a touch move action to the specified coordinates or point.

Touch:up()

Performs a touch up action, releasing the touch at the current position.