How can I get distance between 2 vectors in godot 4

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

I can’t seem to use distnce_to() function anymore. I’m asking for 2d btw

:bust_in_silhouette: Reply From: jgodfrey

The distance_to() function still exists (note you’ve misspelled it above). Here are the docs: