# Particle System Force Field Start Range

[Miscellaneous](../index.md) / [Particle System Force Field](index.md) / **Particle System Force Field Start Range**

## Description

Compares the Start Range property of Particle System Force Field component to another value

## Parameters

| Name | Description |
| :--- | :---------- |
| Particle System Force Field |  |
| Compare |  |
| Value |  |

## 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("Particle System Force Field Start Range")]
    [Category("Miscellaneous/Particle System Force Field/Start Range")]
    [Description("Compares the Start Range property of Particle System Force Field component to another value")]
    
    [Image(typeof(IconParticleSystem), ColorTheme.Type.Teal)]
    
    [Parameter("Particle System Force Field")]
    [Parameter("Compare")]
    [Parameter("Value")]
    
    [Serializable]
    public class GenConditionNumber_ParticleSystemForceField_CheckStartRange : Condition
    {
        [SerializeField] private GetGameObject m_ParticleSystemForceField = new GetGameObject(
            new GenTypeGameObject_ParticleSystemForceField()
        );
        
        [SerializeField] private CompareNumber m_Compare = new CompareNumber();
        
        [SerializeField] private GetNumber m_Value = new GetNumber();
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Start Range");
            return $"{this.m_ParticleSystemForceField} {member} {this.m_Compare} {this.m_Value}";
        }
        
        protected override bool Run(Args args)
        {
            ParticleSystemForceField component = this.m_ParticleSystemForceField.Get<ParticleSystemForceField>(args);
            if (component == null) return false;
            
            return this.m_Compare.Compare(component.startRange, (float) this.m_Value.Get(args));
        }
    }
}


```

