# implicit operator GridLine(int)

> Converts a positive integer to an explicit line; 0 and negatives throw.

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## implicit operator GridLine(GridLin)

```csharp
public static implicit operator GridLine(int line)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                                           | Description |
| ------------------------------------------------------------------------------ | ----------- |
| [GridLine](/engine/6000.7/script-reference/unityengine/uielements/gridline.md) |             |
