Set your lens to handle touches on the screen, preventing default Snapchat touch behavior from occuring. Useful for enabling full screen touches without any touch components. It is similar to creating a plane the size of the screen in front of the camera.
The current touch mask.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
This provider is returned by
global.touchSystem
and allows your lens to handle any touches on the screen, and optionally let certain touch types to pass through (let Snapchat handle the touch).Possible TouchType exception values:
"TouchTypeNone" "TouchTypeTouch" "TouchTypeTap" "TouchTypeDoubleTap" "TouchTypeScale" "TouchTypePan" "TouchTypeSwipe"
Example