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

# Collider Has Modifiable Contacts

[Physics 3D](../index.md) / [Collider](index.md) / **Collider Has Modifiable Contacts**

## Description

Compares the Has Modifiable Contacts property of Collider component to another value

## Parameters

| Name | Description |
| :--- | :---------- |
| Collider |  |

## 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("Collider Has Modifiable Contacts")]
    [Category("Physics 3D/Collider/Has Modifiable Contacts")]
    [Description("Compares the Has Modifiable Contacts property of Collider component to another value")]
    
    [Image(typeof(IconSphereSolid), ColorTheme.Type.Lime)]
    [Keywords("Physics, 3D")]
    
    [Parameter("Collider")]
    
    [Serializable]
    public class GenConditionBool_Collider_CheckHasModifiableContacts : Condition
    {
        [SerializeField] private GetGameObject m_Collider = new GetGameObject(
            new GenTypeGameObject_Collider()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Has Modifiable Contacts");
            return $"{this.m_Collider} {member}";
        }
        
        protected override bool Run(Args args)
        {
            Collider component = this.m_Collider.Get<Collider>(args);
            if (component == null) return false;
            
            return component.hasModifiableContacts;
        }
    }
}


```

