there is a workaround but it is quite tricky or means extra sprites and another variables here is the simpler one:
set [x1 v] to [0]in an other sprite called sprite 1:
set [y1 v] to [0]
set [x2 v] to [10]
set [y2 v] to [10]
broadcast [calculate distance v]
when I receive [calculate distance v]and in another sprite called sprite 2:
go to x: (x1) y: (y1)
set [distance v] to (distance to [sprite 2 v])
when I receive [calculate distance v]and here is the more complex but less sprites/variables
go to x: (x2) y: (y2)
([sqrt v] of ((((0) - (10)) * ((0) - (10))) + (((0) - (10)) * ((0) - (10))))::operators)so I support