I think it is even easier with the Vector-Distance 2D Node. Just get your X1/Y1 from a Delay Node (few ms) and your X2/Y2 directly from the input. I attached a small demo project (WD4 rev418).
Best regards Dennis
You do not have the required permissions to view the files attached to this post.
Dennis Kuypers (former Product Developer, Software)