In order to access TouchGestures (e.g., recognise a screen tap) in Spark AR, it seems I need to have a Screen Tap patch dragged into my patch editor. If I don’t have the Screen Tap Patch, then my console log throws the following error:
[Tap Gesture] Required capability is missing
And when I delete my Screen Tap Patch, the Capabilities settings has “Touch Gesture”, “Tap Gesture” greyed out and I’m unable to set it as available via the Capabilities under Settings.
I didn’t see this anywhere in the documentation. In general, do capabilities always have to be enabled by dragging the corresponding patch into the patch editor? Or is there a way to enable it purely via scripting?