# HasSystem

> Use this function to determine if the VisualEffect has the system you pass in.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.VFX](/engine/6000.7/script-reference/unityengine/vfx.md)
* **Assembly:** UnityEngine.VFXModule

## HasSystem(int)

Use this function to determine if the VisualEffect has the system you pass in.

```csharp
public bool HasSystem(int nameID)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The system ID. This is the same ID that [Shader.PropertyToID](/engine/6000.7/script-reference/unityengine/shader/propertytoid.md) returns.

### Returns

| Type                                                          | Description                                                                   |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | true if the VisualEffect has the system you pass in. Returns false otherwise. |

## HasSystem(string)

Use this function to determine if the VisualEffect has the system you pass in.

```csharp
public bool HasSystem(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the property.

### Returns

| Type                                                          | Description                                                                   |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | true if the VisualEffect has the system you pass in. Returns false otherwise. |
