Quantcast
Channel: Latest posts on Suggestions
Viewing all articles
Browse latest Browse all 555

About Scratch :: Suggestions :: block: distance between two clones

$
0
0
like this?:
when green flag clicked
forever
set [distance v] to (((([x position v] of [Sprite1 v]) - ([x position v] of [Sprite2 v])) * (([x position v] of [Sprite1 v]) - ([x position v] of [Sprite2 v]))) + ((([y position v] of [Sprite1 v]) - ([y position v] of [Sprite2 v])) * (([y position v] of [Sprite1 v]) - ([y position v] of [Sprite2 v]))))
end
For me, it works.

Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>