---
tags:
    - "Animation, Clip, Play, Animate"
---

# Animator Stop Recording

[Animation](../index.md) / [Animator](index.md) / **Animator Stop Recording**

## Description

Executes the Stop Recording method on the Animator component

## Code

```cs
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Title("Animator Stop Recording")]
    [Category("Animation/Animator/Stop Recording")]
    [Description("Executes the Stop Recording method on the Animator component")]
    
    [Image(typeof(IconAnimator), ColorTheme.Type.Teal)]
    [Keywords("Animation, Clip, Play, Animate")]
    
    [Serializable]
    public class GenInstructionAnimator_StopRecording_0 : Instruction
    {
        [SerializeField] private GetGameObject m_Animator = new GetGameObject(
            new GenTypeGameObject_Animator()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Stop Recording");
            return $"{this.m_Animator} {method}";
        }
        
        protected override Awaitable Run(Args args)
        {
            Animator component = this.m_Animator.Get<Animator>(args);
            if (component == null) return Done;
            
            component.StopRecording();
            
            return Done;
        }
    }
}


```

