Distance Traveled

Sorry i dont understand what you mean by this. When you check is axis is greater then 0 that connects to a branch. From the branch how do you determine when a stake is passed?