# NotKeyableAttribute()

> Use this attribute in a script to mark a property as non-animatable.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Animations](/engine/6000.6/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public NotKeyableAttribute()
```

### Remarks

A non-animatable property cannot have key animation (not keyable). It does not appear as animatable in the Animation window and it cannot be animated in the [Animator](/engine/6000.6/script-reference/unityengine/animator.md) component or the [Animation](/engine/6000.6/script-reference/unityengine/animation.md) component.
