tile coordinate helper script