# PointOnLineParameter(Vector3, Vector3, Vector3)

> Returns the parameter for the projection of the point on the given line.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static float PointOnLineParameter(Vector3 point, Vector3 linePoint, Vector3 lineDirection)
```

### Parameters

**** (\[Vector3]\(/engine/6000.6/script-reference/unityengine/vector3)): **** (\[Vector3]\(/engine/6000.6/script-reference/unityengine/vector3)): **** (\[Vector3]\(/engine/6000.6/script-reference/unityengine/vector3)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |

### Remarks

The return value can be negative if the projected point is in negative `lineDirection` relative to the linePoint Additional Resources: [HandleUtility.ProjectPointLine](/engine/6000.6/script-reference/unityeditor/handleutility/projectpointline.md).
