Double-Tab To Switch Camera Is Not Working
Dear All,
I recently created a lens that contains six filters and the user can change between them by tapping on a button from the six buttons. Right now I did everything perfectly but I faced a problem which is when the user double-tab to switch the screen ( which is normal ), it doesn't work. The user has to press on the switch camera button on the top right corner to switch the camera. I don't know why that happened. I tried some scripting but with no solution. Any suggestions?
This is the lens link:
https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=82a8b2a3aff54563a630b471834cc173&metadata=01
This is my Snapchat username:
@llOK4ll
Thanks All,
Omar Khaled
What scripts are you using? This happens with touchBlocking enabled. You'd need to add an exception to the touchblocking to stop blocking the double tap.
https://lensstudio.snapchat.com/api/classes/TouchDataProvider/
I am using behavior scripts for changing the filters. I watched the script:
but I don't know where to add this script exactly. I tried to add it in multiple locations but still no solution
Alright it has been solved!