# Renderer Reset Bounds

[Mesh](../index.md) / [Renderer](index.md) / **Renderer Reset Bounds**

## Description

Executes the Reset Bounds method on the Renderer 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("Renderer Reset Bounds")]
    [Category("Mesh/Renderer/Reset Bounds")]
    [Description("Executes the Reset Bounds method on the Renderer component")]
    
    [Image(typeof(IconMesh), ColorTheme.Type.Blue)]
    
    [Serializable]
    public class GenInstructionRenderer_ResetBounds_0 : Instruction
    {
        [SerializeField] private GetGameObject m_Renderer = new GetGameObject(
            new GenTypeGameObject_Renderer()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Reset Bounds");
            return $"{this.m_Renderer} {method}";
        }
        
        protected override Awaitable Run(Args args)
        {
            Renderer component = this.m_Renderer.Get<Renderer>(args);
            if (component == null) return Done;
            
            component.ResetBounds();
            
            return Done;
        }
    }
}


```

