Would you like to copy the permanent link to your clipboard?
Permanent link:
https://help.openstreetmap.org/questions/74221/how-could-i-get-the-last-point-in-a-way-with-overpass/74222