Patch Editor
Interaction Patches
Screen Tap

Screen Tap Patch

Use the Screen Tap patch to make something happen when the screen is tapped.

Add a Screen Tap patch to an AR Studio project in this tutorial.

Input

NameDescription

Enabled

Enable screen taps to be captured.

Outputs

NameDescription

Gesture State

Connect an asset patch representing an audio clip here.

2D Position

Connect this port to either the Single or Multi-Clip Controller patch.

Example

In the example below, an object appears when a screen tap is detected. The object disappears when a screen tap is detected again.

When screen tap is detected, a pulse is sent from the Tap output on the Screen Tap patch to the Flip input on the Switch patch. Flip is Turned On and the pulse is sent to the Visible input on the object patch.

Was this article helpful?