# AtLine(int)

> An explicit 1-based grid line.

## Definition

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

```csharp
public static GridLine AtLine(int line)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The line index; must be >= 1 (0 and negatives are invalid).

### Returns

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