Convert global_position in Offset Path2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Muricy

Could you help me?

I have this situation …

I have 2 paths (Path2d 2 PathFollow2d) my player travels path B … arriving at the location in green, he could change to path A.

Can anyone tell me how to convert the Position to Offset at the point of path A.

Thanks!