variable-based distance finder | ScratchStats