Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Nav Mesh Agent Auto Braking#

Navigation / Nav Mesh Agent / Nav Mesh Agent Auto Braking

Description#

Compares the Auto Braking property of Nav Mesh Agent component to another value

Parameters#

Name Description
Nav Mesh Agent

Code#

// <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;
using UnityEngine.AI;

namespace VisualScript.Runtime
{
    [Title("Nav Mesh Agent Auto Braking")]
    [Category("Navigation/Nav Mesh Agent/Auto Braking")]
    [Description("Compares the Auto Braking property of Nav Mesh Agent component to another value")]

    [Image(typeof(IconNavmeshAgent), ColorTheme.Type.Red)]
    [Keywords("Navigation, NavMesh, AI, Pathfinding, Agent")]

    [Parameter("Nav Mesh Agent")]

    [Serializable]
    public class GenConditionBool_NavMeshAgent_CheckAutoBraking : Condition
    {
        [SerializeField] private GetGameObject m_NavMeshAgent = new GetGameObject(
            new GenTypeGameObject_NavMeshAgent()
        );

        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Auto Braking");
            return $"{this.m_NavMeshAgent} {member}";
        }

        protected override bool Run(Args args)
        {
            NavMeshAgent component = this.m_NavMeshAgent.Get<NavMeshAgent>(args);
            if (component == null) return false;

            return component.autoBraking;
        }
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.