# Manual Animations

ObjectNet allows to manually animate objects instead using auto animation provided by Network Prefab ( see [synchronization-options](https://onlineobject.gitbook.io/objectnet/general/network-components/network-prefabs/synchronization-options "mention")).

{% hint style="warning" %}
Important: This methods are available only to classes inherited from NetworkBehaviour.
{% endhint %}

To animate objects using ObjectNet API you need to use one of the following code.

```csharp
//similar to unity animator.Play
this.Animation.Play("clipName");

//similar to unity animtor.Crossfade
this.Animation.CrossFade("ClipName", float normalizedTransitionDuration);

//similar to unity animator.CrossFadeInFixedTime
this.Animation.CrossFadeInFixedTime("ClipName", float fixedTransitionDuration);
```

This method will play animation locally and send animation event over network to be played on network instances

{% hint style="success" %}
You can use **Manual Animations Api** with all animation sync Modes, including **UseController**, **UseParameters**, and **ManualControl**. See [synchronization-options](https://onlineobject.gitbook.io/objectnet/general/network-components/network-prefabs/synchronization-options "mention")\
![](https://3009462755-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNG75ky1pR1kRokWLRnzy%2Fuploads%2FmYzaabGcHGK0to046bzF%2Fimage.png?alt=media\&token=989f2e93-3049-4b5a-ac65-b26fea8e83bd)
{% endhint %}

{% hint style="info" %}
Note: You can do the same or create a custom synchronization by using your own event.
{% endhint %}
