APP MASCOT · 4 STEPS
How to add a mascot to your appthat reacts to your users.
THE SHORT ANSWER
List the moments where the mascot should react (a correct answer, a saved check-in, a missed day), make one short animation per moment from a single picture of your character, then play them with a player that switches between them when your app says what happened. With Masko you can do all three from a description or your own drawing, or let your coding agent do it over MCP, and play the result with the open-source Masko player on React Native, Flutter, iOS, Android and the web.
List the moments first, not the animations.
A mascot like the Duolingo owl works because it reacts to what you just did. Before drawing anything, write down the moments in your app where something should happen. Most apps need between five and eight. Each moment becomes one animation, and the mascot rests in a calm idle loop the rest of the time.
The same few moments come back in every kind of app. Start from the list that matches yours and cross out what you do not need.
| Kind of app | Moments to make |
|---|---|
| Learning and language apps | Idle, correct answer, wrong answer, lesson complete, streak kept, missed day, welcome back. |
| Wellness, habit and health apps | Calm idle, check-in saved, progress, goal reached, gentle reminder, missed day, welcome back. |
| AI assistants and chatbots | Idle, listening, thinking, typing or working, answer ready, error. |
| Shopping, finance and other apps | Welcome, loading, success, empty state, error, celebration. |
- Keep idle almost still. The idle loop is on screen most of the time, so slow breathing and a blink beat bouncing. Save the big moves for the moments that matter.
- Be kind on bad moments. A missed day or a wrong answer should feel like encouragement, not a punishment. Users come back to a mascot that is happy to see them.
How to get the moments that matter most right.
These are the moments builders ask about most, and what the mascot should do in each.
- Welcome a new user. Play a short wave and a hello on the first screen of the onboarding, once, then settle into idle. Tell the player first_open, and never replay it on every launch.
- While your AI is thinking. Switch to a thinking loop as soon as the request starts and back when the answer arrives. A character that looks up or taps its chin makes a five-second wait feel shorter than a spinner.
- Right and wrong answers. A quick cheer for a right answer and a gentle "almost" for a wrong one, each under three seconds so they never slow the lesson down.
- A missed day or a broken streak. Show that the mascot missed the user, not that it is disappointed in them: a little sad, then happy they are back.
- A mood that follows the user’s data. Make one idle per mood (happy, tired, worried) and set the mood from your data, such as screen time, budget left or progress, so the home screen tells the story at a glance.
- Reacting on its own. Not every reaction needs a tap. Let the state machine play a small move after a long idle, or fire one when something happens in the app, so the mascot feels alive.
- Login and password screens. A mascot that follows the email field with its eyes and covers them while the password is typed is a classic. Set typing_email and typing_password from the fields.
- Loading. A short loop that matches your app, such as counting coins in a finance app, makes waiting part of the brand.
Make the character once, then every moment from it.
Every animation has to show the same character, or the mascot stops feeling like one being. Start from one clear picture: your own drawing, or a character Masko draws from a description or from your website. That picture becomes the reference for every pose and animation after it.
In Masko a picture costs $0.125 and a five-second animation costs $1.25. New accounts get $2.63 of free credits to start. A talking animation with its own voice costs $1.25 for five seconds.
- Describe the move with timings. For example: "0 to 1 s, crouches with excitement; 1 to 2.5 s, jumps with both arms up; 2.5 to 4 s, lands and settles back into the idle pose."
- End where you started. A reaction that ends in the idle pose can play at any time without a jump between clips.
Connect the moments in a state machine.
A state machine decides which animation plays. Your app does not pick clips; it only says what is happening, such as "the user is typing" or "the answer was correct", and the state machine plays the right animation and the move back to idle.
In Masko this is a canvas: poses are the states, animated moves connect them, and each move has the condition that triggers it. Once you release the canvas, your app drives it with two calls: set for something that stays true for a while, and fire for a one-off moment.
import { useRef } from 'react';
import { MaskoView, type MaskoHandle } from '@masko/player-react-native';
export function Mascot({ url }: { url: string }) {
const mascot = useRef<MaskoHandle>(null);
// When the user gets an answer right:
// mascot.current?.fire('correct');
return <MaskoView ref={mascot} url={url} style={{ width: 160, height: 160 }} />;
}Play it on every platform you ship.
The Masko player is open source and plays the same canvas on the web and React, iPhone, iPad and Mac, Android, React Native and Expo, and Flutter. It keeps the transparent background and switches between clips without a flicker.
Files are short videos with a transparent background. On phones that support it, a five-second clip at 720 pixels is about 0.24 MB in AV1. Exports to GIF, Lottie and dotLottie are free when you need a single loop somewhere else.
- With a coding agent. Connect Masko to Claude Code, Cursor, Codex or ChatGPT over MCP and ask: "Give my app a mascot that cheers on a correct answer and misses the user after a skipped day." The agent creates the mascot, the animations and the canvas, tells you the price before each paid step, and adds the player to your code.
