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