Skip to content

Touchpad v2.1

Overview

Returns the position and duration of any player touch or watching on it. More details is in the document.

Ports Definition

Top Output

FunctionDescription

Duration

The duration of touching or sighting, in milliseconds.

Right Output

FunctionDescription

Horizontal Ordinate

The origin is the top left corner, and the range is 0 ~ 0xFFFFFFFF.

Bottom Input

Start & EndFunctionDescription
1

Touching / Sighting Mode

When this is 0, this element will take effect only when a player touches on it, otherwise when a player looks on it.

2

Keep Last Output

If this is 1, when you stop touching or looking on this element, it will keep the last output.

3

Touching Start / Latest Ordinate

If player is using mouse to control and the mode of this element is touching mode, when this is 1, the element will output the ordinate of the start touching position, and the duration will always be 0. Otherwise the element will output the latest ordinate of the touching position.

Left Output

FunctionDescription

Vertical Ordinate

The origin is the top left corner, and the range is 0 ~ 0xFFFFFFFF.

Back Input

FunctionDescription

Memory Bank ID

Set the ID of a memory bank that you want to read image from, then the image will be displayed on the surface of this element like Simple Image Display .