Metlivi Blog

How to Plan a Pet Interaction Animation That Responds to a Tap

Plan the animation as a short cause-and-effect sequence: acknowledge the finger press immediately, show the pet’s reaction, then return to a ready state. Decide what a tap means, choose one readable action that fits that meaning, and test the timing on the device. A responsive animation is less about adding more movement than making the first visible change arrive promptly and the whole sequence feel connected to the tap.

October 15, 20266 min readBy Metlivi Editorial Team
Section 1

1. Define what the tap should communicate

Write a one-sentence interaction rule before sketching poses: “When tapped, the pet notices the person and responds with a brief greeting.” Keep the tap’s outcome consistent. If the same tap sometimes feeds, plays with, and greets the character, the animation cannot reliably signal what happened.

Separate the input into two moments: finger down and finger up. A small pressed-state change on finger down confirms that the target registered; the pet’s main reaction can follow when the tap is accepted on release. Apple’s responsiveness guidance describes touchscreen presses and releases as discrete interactions with separate visual responses. This distinction helps the tap feel acknowledged even if the larger character animation takes longer to complete. Understanding user interface responsiveness

Section 2

2. Pick a reaction with a clear visual read

Choose one primary motion that communicates the intent at the character’s displayed size. A greeting might use an eye turn followed by a small head tilt; a playful acknowledgement could use a quick body bounce. These are design examples, not prescribed patterns. Favor a silhouette or facial change that remains recognizable when the character is small, and avoid stacking several gestures before the viewer can understand the first.

Build the reaction from anticipation, action, and settle. Anticipation can be a brief look toward the tap location. The action is the defining gesture. The settle restores a comfortable idle pose without snapping. This sequence is a practical design inference from platform guidance to make feedback realistic, brief, and precise: motion should reinforce the action, not compete with it. Apple Human Interface Guidelines: Motion

Section 3

3. Make the first frame acknowledge the tap

The first visible change matters more than the length of the full reaction. As a starting design choice, make the character or tap target change immediately on press—through a subtle squash, highlight, or eye shift—then transition into the expressive response after release. Treat the exact timing as something to tune in context rather than a universal number.

If animation starts only after loading assets, checking remote data, or completing unrelated work, the interaction can appear to have been missed. Keep the acknowledgment independent from expensive work when possible. Apple documents noticeable delay in discrete interactions as a hang, and distinguishes it from hitches, which are interruptions in fluid motion. In practice, check both whether the character starts reacting promptly and whether it moves smoothly once it does. Understanding user interface responsiveness

Section 4

4. Choose duration and easing by the job

Use the shortest sequence that lets the viewer identify the reaction and see it settle. A quick ear flick can finish quickly; a turn of the head needs time to read. If the animation feels sluggish, shorten the delay before its defining movement before compressing every pose. If it feels abrupt, adjust the transition into or out of the action rather than inserting a long pause.

Give the movement a purposeful speed profile. A response can start promptly and ease into its final pose, while a small bounce can overshoot slightly and settle. These are illustrative choices: the right curve depends on the character’s style and the size of the movement. Apple recommends brief, precise feedback and cautions against making people wait for motion to finish before continuing. Apple Human Interface Guidelines: Motion

Section 5

5. Decide what repeated taps do

Test a second tap while the first reaction is playing. Choose an explicit rule: restart the reaction, queue another response, blend into a new pose, or ignore further taps until a clear moment. For a simple pet interaction, restarting a short reaction or blending to the new pose may keep the character feeling available; queueing several full reactions can make the pet appear to lag behind the person.

Whichever rule you choose, avoid leaving the animation in a half-finished state. Check taps during anticipation, the main gesture, and the settle. Also test a tap that starts as a press but ends outside the target if your platform distinguishes that from a completed tap. Apple’s button guidance notes that a touch-up inside the control’s bounds triggers its action; custom tap handling should define its own equivalent behavior clearly. Understanding hangs in your app

Section 6

6. Keep the interaction usable without full motion

Let the reaction be optional where the platform offers motion preferences, and preserve the information conveyed by the tap through a nonmoving state change when needed. For a web interface, W3C’s documented technique uses the prefers-reduced-motion media query to suppress or replace interaction-triggered motion when a user requests reduced motion. The W3C page describes a technique, rather than a requirement to use that exact implementation. W3C Technique C39: Using the CSS prefers-reduced-motion query to prevent motion

If you add sound or haptic feedback, make it correspond directly to the visible response and provide it intentionally. Apple’s haptics guidance says feedback should match a visual change or respond to a user action, and warns that overuse can reduce its significance. A pet animation does not need extra feedback channels if the movement already makes the result clear. Apple Human Interface Guidelines: Playing haptics

Section 7

7. Run a focused tap test

Test on the intended device, at the actual display size, rather than judging only from a timeline editor. Ask a few practical questions: does the press register visibly, can you tell what the pet did, does the pose return to an interactive state, and does a repeated tap behave predictably? Watch at normal speed first; slow playback can help inspect pose transitions but cannot establish whether the timing feels responsive in use.

Then test edge cases: tap rapidly several times, tap near the target boundary, and enable the device’s reduced-motion setting. Look for delayed starts, frozen frames, abrupt resets, and reactions that overlap until the meaning becomes unclear. Apple notes that even a delay of one display refresh interval can cause a hitch in motion, so inspect smoothness as well as perceived start time. Improving app responsiveness

A reliable plan is simple: define the tap’s meaning, acknowledge it promptly, stage one readable reaction, settle back to an available pose, and decide how interruptions work. Tune the sequence on-device, then repeat the same checks with motion reduced. The finished behavior should make the relationship between the tap and the pet’s response easy to follow.

Section 8

Sources

Related reading

Keep exploring this topic