# FieldType enum

Namespace: [Grasshopper2.Types.Fields](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.fields.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[Flags]
public enum FieldType
```

Enumerates the possible types of field.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Represents an unset type. This usually indicates an invalid field. |
| Scalar | 1 | A field of numeric values. If evaluated as a vector field, the scalar value becomes the vector z-component. |
| Vector | 2 | A field of 3D vectors. If evaluated as a scalar field, the vector length is returned. |
| Both | 3 | Field supports both scalar and vector evaluation. |
