# Animation for Sceneform quickstart

Get started with Sceneform animation. This guide shows you how to:

- Set up your development environment to support animation
- Loading and running an animation in the sample app

This guide assumes that you have already installed and configured the Sceneform
SDK for Android. If not, see the [Quickstart for Android](https://developers.google.com/sceneform/develop/android-quickstart)
for installation and setup steps.

If you are new to working with skeletal animation, see
[Model animation concepts](https://developers.google.com/sceneform/develop/animation#model-concepts)
for an introduction.

## Set up your development environment

- Install [Android Studio](https://developer.android.com/studio/) version 3.1 or higher with Android SDK Platform version 7.1 (API level 24) or higher, and make sure you've also installed the [Google Sceneform Tools (Beta) plugin](https://developers.google.com/sceneform/develop/getting-started#import-sceneform-plugin).
- Make sure that your Android device is connected to the development machine via USB. See ARCore [Supported devices](https://developers.google.com/ar/discover/supported-devices) for detailed information.

## Build and run the sample app

To build and run the **Animation** sample app:

1. Import the [Animation sample](https://github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/animation)
   into Android Studio. This is located at `samples/animation` folder in the
   Sceneform SDK.

2. To look at the animation assets in Android Studio, navigate to
   `app/sampledata/models`. These assets are:

   - `andy_dance.fbx`. Primary dancing Andy animation model.
   - `andy_wave_l.fbx`. Andy waving left animation data.
   - `andy_wave_r.fbx`. Andy waving right animation data.
   - `baseball_cap.fbx`. Andy's baseball cap.
3. In Android Studio, click **Run** .

4. Choose your device as the deployment target, and click **OK** to launch the
   sample app.

   As part of the build process, Android Studio compiles the assets into an
   `*.sfb` format file.
5. On your device, grant camera access for the **Animation** sample app. Then
   try out these steps:

   - Find a plane, then tap anywhere on the plane to add dancing Andy to the scene.
   - To begin animating dancing Andy, tap the menu.
   - To add or remove the baseball hat from Andy's head, tap the hat icon.