Skip to content

math · reference

dist·

How far apart two points are.

use
dist(x1, y1, x2, y2)
x1
the block starts with 0
y1
the block starts with 0
x2
the block starts with 100
y2
the block starts with 100
kind
a value: it goes inside another block
drawer
Math, in the code room's blocks

player two knows this block

Ask it how dist works in your game.