# Look at current waypoint

Hi guys!

Hopefully not too much of a noob question here

I am wondering if you can return the current way point as a vector3 position so I can make my character look at it instead of its ultimate destination. I am using the layered Grid graph.

This is the current function i am using to look at the Target

`var newLeftRightRotation = Quaternion.LookRotation(transform.position - targetPosition);

``````		newLeftRightRotation.x = 0.0f;
newLeftRightRotation.z = 0.0f;
transform.rotation = Quaternion.Slerp(transform.rotation, newLeftRightRotation , rotateSpeed * Time.deltaTime);`<del></del>
``````

I am looking to get the next way pointâ€™s position like so

`var newLeftRightRotation = Quaternion.LookRotation(transform.position - NEXT WAY POINTS VECTOR3 HERE);

``````		newLeftRightRotation.x = 0.0f;
newLeftRightRotation.z = 0.0f;
transform.rotation = Quaternion.Slerp(transform.rotation, newLeftRightRotation , rotateSpeed * Time.deltaTime);```````

ok, so this has been answered!

`Vector3 nextNode = path.vectorPath[currentWaypoint];`

Just to help you out here, Here is a good setup for a Grid graph: