Here you can move the dots, and it makes a right angle triangle automatically. To find out the length of the diagonal line, I made some code which tells the distance between dot 1 and dot 2, without using "distance to ( )".
You can use the idea of the pythagoras machine, and you should remix this. REMIX THIS AND MAKE MORE MATHEMATICAL MACHINES USING BLOCKS!!!