---
tags:
    - "Physics, 3D"
---

# Articulation Body Is Sleeping

[Physics 3D](../index.md) / [Articulation Body](index.md) / **Articulation Body Is Sleeping**

<div class="grid cards" markdown>

* :green_circle: Can Read

* :red_circle: Cannot Write

</div>

## Description

Returns the execution of Is Sleeping method on the Articulation Body 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
{
    [Get]
    
    [Title("Articulation Body Is Sleeping")]
    [Category("Physics 3D/Articulation Body/Is Sleeping")]
    [Description("Returns the execution of Is Sleeping method on the Articulation Body component")]
    
    [Image(typeof(IconPhysics), ColorTheme.Type.Lime, typeof(BadgeDot))]
    [Keywords("Physics, 3D")]
    
    [Serializable]
    public class GenTypeBool_ArticulationBody_IsSleeping_0 : TypeBool
    {
        [SerializeField] private GetGameObject m_ArticulationBody = new GetGameObject(
            new GenTypeGameObject_ArticulationBody()
        );
        
        public override bool Get(Args args)
        {
            ArticulationBody component = this.m_ArticulationBody.Get<ArticulationBody>(args);
            if (component == null) return default;
            
            bool value = (bool) component.IsSleeping();
            
            return value;
        }
        
        public override string ToString()
        {
            return $"{this.m_ArticulationBody} Is Sleeping";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}


```

