# SnapProjection enum

Namespace: [Grasshopper2.UI.Snap](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.snap.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum SnapProjection
```

Enumerates the possible types of projection a snapping element may have.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Element does not project at all. This type of projection is typically only used for disabled or area/region elements. |
| X | 1 | Projection only affects the x-coordinate. |
| Y | 2 | Projection only affects the y-coordinate. |
| XY | 3 | Projection may affect both the x and the y-coordinate. |
