# Terrain Set Connectivity Dirty

[Miscellaneous](../index.md) / [Terrain](index.md) / **Terrain Set Connectivity Dirty**

## Description

Executes the Set Connectivity Dirty static method of the Terrain class

## 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("Terrain Set Connectivity Dirty")]
    [Category("Miscellaneous/Terrain/Set Connectivity Dirty")]
    [Description("Executes the Set Connectivity Dirty static method of the Terrain class")]
    
    [Image(typeof(IconTerrain), ColorTheme.Type.Lime)]
    
    [Serializable]
    public class GenInstructionTerrain_SetConnectivityDirty_0 : Instruction
    {
        
        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Terrain");
            string method = TextUtils.ThemeAsKeyword("Set Connectivity Dirty");
            return $"{className} {method}";
        }
        
        protected override Awaitable Run(Args args)
        {
            Terrain.SetConnectivityDirty();
            
            return Done;
        }
    }
}


```

