construct.net/en/make-games/manuals/construct-3/behavior-reference/pathfinding
NodeCount
The number of nodes in the path that was found. This is only updated after On path found.
NodeXAt
NodeYAt
Return the position of a node in the path that was found, in layout co-ordinates, using the zero-based index of the node. This is only available after On path found.
So Object.Pathfinding.NodeXAt(Object.Pathfinding.NodeCount) and Object.Pathfinding.NodeYAt(Object.Pathfinding.NodeCount)
This is slightly different than simply storing the target of pathfinding, as if your target is an invalid target, the last valid pathfinding node will be in a pathable location rather than inside a solid object for example.