Subject explains it pretty simply, but basically I have a bunch of image elements. When the lens first loads, I want image1 to be visible and image2 (a gif) to be hidden.
Then, on first tap, I want image1 to be hidden and image2 to be now visible and playing in a loop.
Then the next taps should toggle the playback state of the gif. tapping again and again should pause/play/pause the gif wherever it is at in it's playback :)
Any ideas? I've never written scripts in Lens Studio or in JS for that matter… any help would be appreciated!