it actually works! it's midnight and my brain's working! no code taken, I only use my functions from my other projects (dist & point to (x, y))