detect-collisions
detect-collisions copied to clipboard
check collisions within the area
In a very large or infinite world, using checkArea() to limit the detection range is very useful.