Skip to main content

global.touchSystem

Variable

Returns the global TouchDataProvider, which controls how the Lens handles touch events.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

const touchSystem: TouchDataProvider

Returns the global TouchDataProvider, which controls how the Lens handles touch events.