From the course: Prototyping Microinteractions with Adobe Animate

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Swipe gesture

Swipe gesture

- [Instructor] Swiping left, right, up, or down is an expected gesture on many of the screens we interact with daily. This can be used to dismiss notifications, for browsing images within a gallery, or even to reveal a menu off to the side. To simulate a swipe gesture, we'll need to use a combination of visual touch indicators and movement of objects within the view. So here we have a little bit of a different setup than we've seen before. We have this new item here, UI underscore card, and it's basically a rectangle or a square. We also have an instance of that on the stage in a layer called card. Let's go ahead and create a new layer for our swipe gesture and we'll rename it to swipe. For the swipe gesture, we can actually reuse our long press, so let's find G underscore long press in the library and we'll go ahead and position it somewhere over here. I think we're going to swipe from this position to there. We'll now go ahead and choose properties with that still selected, and of…

Contents