# Vector2Int.LengthSquared

```csharp
int LengthSquared { get; set; }
```

Squared length of the integer vector. This is faster than [Length](/api/Vector2Int/Length), and can be used for things like comparing distances, as long as only squared values are used."/>

Declared in [Vector2Int](/api/Vector2Int).
Assembly: `Sandbox.System`.
