Book a free call

How to Create AR Animations in Snap Lens Studio

Snap Lens Studio is Snap's free tool for building AR Lenses. This guide covers setup, animating a 3D object, face tracking, and testing on your phone.

Hertiv engineering teamReviewed by a senior engineer
7 min read
How to Create AR Animations in Snap Lens Studio
On this page

Short answer

Snap Lens Studio is Snap's free desktop app for building augmented reality Lenses for Snapchat. A creator adds a 3D object to a scene, animates it with keyframes or triggers, attaches it to face tracking, and tests it on a phone before publishing. Most first Lenses need no code at all.

What is Snap Lens Studio?

Snap Lens Studio is Snap's free desktop app for building augmented reality Lenses, the camera effects people use in Snapchat. A Lens can add a 3D hat to a head, place a dancing character on a table, or turn a face into a cartoon. Lens Studio gives creators the scene, the tracking and the animation tools to build those effects without writing an app.

A Lens is a small interactive scene, not a video filter. It reacts to the camera in real time: it follows a face, tracks a hand, or anchors an object to a surface. The creator decides what appears, how it moves, and what happens when the user taps or smiles. That interactivity is what separates a Lens from a static overlay.

Lens Studio runs on a desktop computer and publishes to Snapchat, where anyone can try the Lens. Creators share a Snapcode or a link, and the Lens opens in the Snapchat camera. The same AR ideas appear in retail and marketing, where augmented reality in retail shows how brands use camera effects to sell.

What do you need before you start?

Starting needs less than most people expect. A Snap account, the Lens Studio app on a desktop computer, and a phone with Snapchat are enough for a first Lens. A 3D model helps, but Lens Studio ships with sample objects, materials and scripts, so a first project can be built from the built-in library.

ItemWhat it is forNotes
Snap accountPublishing and testingFree to create
Lens Studio appBuilding the LensDesktop, free download
Phone with SnapchatReal-device testingTest early and often
3D model or imageThe object in the sceneOptional; samples included
Test deviceChecking performanceAn older phone is ideal

The phone matters more than the computer's power. A Lens is judged on a phone camera, so test early on a real device instead of only in the desktop preview. Older phones run fewer effects at once, so keep the first Lens light: one object, one animation, one interaction. A Lens is a small app-like experience, and the same care that goes into mobile app development applies: keep it light and test on real devices.

How do you set up your first Lens?

A first Lens takes shape in a few steps. Open Lens Studio and start from a blank project or a template such as a face effect. Add an object from the library, place it in the scene, and check the preview. The preview shows the camera feed with the effect applied, so mistakes show up at once.

  1. Create a Snap account and install Lens Studio.
  2. Pick a template that matches the idea.
  3. Add one object and position it in the scene.
  4. Add an animation or a tap interaction.
  5. Preview on the desktop, then push it to your phone.
  6. Test in different light and on different faces.

Templates are the fastest way to learn. Each one is a working Lens with the tracking and the scripting already wired up, so a creator can change the object and the colours and see the result in minutes. Once the template makes sense, building from a blank project is a small step. Building a full AR app is a bigger job: see augmented reality app development cost for what that involves.

How do you animate a 3D object?

Animation in Lens Studio works on a timeline. A creator sets keyframes: the object's position, rotation or size at one moment, then a different value a second later, and Lens Studio fills in the movement between them. A hat that bobs, a character that waves, or a box that spins are all keyframe animations.

Loops keep an animation running. A two-second loop that repeats looks alive without any scripting, and most simple Lenses need nothing more. For movement that reacts to the user, Lens Studio offers triggers: a tap starts the animation, a smile speeds it up, or a head turn moves the object. Triggers turn a moving object into an interactive one.

Small movements read better than large ones. An object that travels across the whole screen distracts from the face it sits on, while a small bob or a slow spin adds life without stealing attention. Test the animation at arm's length, the distance a phone is normally held, and shrink anything that feels too big.

How do you add face tracking and interactions?

Face tracking is the core of most Lenses. Lens Studio finds the face in the camera feed and attaches objects to points on it: a hat sits on the head, glasses sit on the eyes, and a mask follows the mouth. The tracking updates every frame, so the object stays in place when the head moves.

Interactions connect what the user does to what the Lens shows. A tap can change a colour, a raised eyebrow can trigger a sound, and opening the mouth can launch an object across the screen. Lens Studio lists these triggers in its behaviour panel, so most interactions need no code at all.

Scripting is there when the built-in triggers run out. Lens Studio uses JavaScript, and a short script can count taps, remember a score, or chain several animations in order. A simple game, such as catching falling objects with your head, is a few dozen lines of script on top of the same face tracking.

How do you test a Lens on your phone?

Testing on a phone is a built-in step. Lens Studio pairs with the Snapchat app, and a test Lens appears in the camera within seconds of pushing it. The phone test shows the real frame rate, the real colours, and how the effect looks in a real room, which the desktop preview can only guess at.

Test in the conditions the audience will meet. Try bright daylight, a dim room, and a face with glasses, because tracking behaves differently in each. Try it on a second phone if one is available, especially an older model, since a Lens that stutters on a slow phone will be closed at once.

Keep a short test list and run it before every publish. The object stays attached when the head turns, the animation loops without a jump, the tap trigger works on the first try, and the Lens loads in a few seconds. A Lens that passes those four checks is ready to share.

Example (hypothetical): a birthday hat Lens

Example (hypothetical): a creator makes a birthday Lens with a party hat, floating balloons and a tap that fires confetti. The hat uses face tracking, the balloons loop on a three-second animation, and the confetti fires only when the user taps the screen.

The timing is planned on paper first. The hat bobs once every two seconds, so in a ten-second video it bobs five times. The balloons rise and fade over three seconds, so four balloons are on screen at any moment if one starts every second. The confetti burst lasts one second and uses about forty small pieces, which keeps the frame rate smooth on most phones.

The creator tests it on two phones and finds the confetti lags on the older one, so the pieces drop from forty to twenty-five. The effect still reads as a burst, and the frame rate recovers. That one change is the whole lesson: count the moving pieces, test on the weakest phone, and trim until it runs smoothly.

What are the common mistakes?

The most common mistake is adding too much at once. Three objects, two animations and a game, all in a first Lens, usually means none of them works well. One idea, done cleanly, beats a crowded scene every time, and the extra ideas can become a second Lens.

The second mistake is trusting the desktop preview. Colours, size and speed all look different on a phone held at arm's length, so a Lens that is only tested on a desktop often looks wrong in use. Push to the phone early and test there from the start.

The last mistake is ignoring performance. A Lens that drops frames gets closed, however clever the idea. Keep the object count low, keep textures small, and test on an older phone before publishing. If it runs smoothly there, it runs smoothly almost everywhere.

Key takeaways

  • Lens Studio is Snap's free desktop tool for building AR Lenses for Snapchat.
  • A Lens is an interactive scene: it tracks faces, hands and surfaces in real time.
  • Keyframes and loops cover most animations; triggers add interaction without code.
  • Test on a real phone early, in real light, and on the weakest device you can find.
  • One idea done cleanly beats a crowded scene that drops frames.

Frequently asked questions

Is Lens Studio free?

Yes. Lens Studio is a free download from Snap for desktop computers, and publishing a Lens to Snapchat costs nothing. The only costs are the computer and phone you already own, plus any 3D models you choose to buy.

Do I need to know how to code?

No, not for a first Lens. Templates, keyframe animation and the behaviour panel cover face tracking, taps and smiles without code. JavaScript is only needed for games or chained animations that the built-in triggers cannot do.

How do people try my Lens?

You share a Snapcode or a link, and it opens in the Snapchat camera. Anyone with Snapchat can try it at once, on the spot, with no app install beyond Snapchat itself.

What is the difference between a Lens and a filter?

A filter is usually a static overlay, while a Lens is an interactive scene. A Lens tracks the face or the room, reacts to taps and expressions, and can run small games, so it behaves more like a tiny app.

Why does my Lens run slowly on some phones?

Too many moving objects, large textures, or heavy scripts can drop the frame rate on older phones. Cut the object count, shrink the textures, and test on the weakest phone you can find before publishing.

Can a Lens work without a face in view?

Yes. World Lenses anchor objects to surfaces such as a table or the floor instead of a face. The same animation and trigger tools apply, and the object stays fixed in the room as the camera moves.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning an AR experience for your brand? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Mobile App Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call