July 2017
Intermediate to advanced
354 pages
9h 58m
English
Now, it's time to define the functionality of our prototype. Adding interactivity to the different elements of our design will allow the user to interact with it as if it were a real application. Let's go screen by screen, defining the different actionable elements and how our prototype reacts when the user interacts with them through a gesture:
# WELCOME BEHAVIOUR# Step 1 Functionalitysketch.CTA_1.on Events.Tap, -> sketch.Step_2_Artboard.animate("in")sketch.Step_1_Artboard.on Events.SwipeLeft, (event) -> sketch.Step_2_Artboard.animate("in")# Step 2 Functionalitysketch.CTA_2.on Events.Tap, -> sketch.Step_3_Artboard.animate("in")sketch.Step_2_Artboard.on Events.SwipeLeft, (event) -> sketch.Step_3_Artboard.animate("in") ...