so lets say you have a little pathfind set up

local pathfinding = game:GetService("PathfindingService")
local path = pathfinding:CreatePath()
path:ComputeAsync(script.Parent.HumanoidRootPart.Position,workspace.GoHere.Position)

and i want the first point in the pathfinder how would i do that? is the only way is doing this?

local partiwant
for i,waypoint in pairs(waypoints) do
	if i == 1 then
	partiwant = waypoint
	end
end

is that the only way of doing it or is there an easier way of doing that?

EDIT: raid6n told me that i can do waypoints[1]