How to use Vector3 in displaying Distance Inputs

Hi all, I’m currently wondering how to solve this problem I’ve been given. I was instructed to write a code where an object takes 6 distance inputs and shows those numbers based on their proximity (how close they are), so I’m using Vector3 but I barely have any idea how to use it and how it also works but I get the idea of this code.

Extra Info: No matter how much I enter 6 entries, it prints them out on how close they are.

Thanks everyone! Have a pleasant coding :slight_smile:

I’m not really sure what you are trying to do, but my first guess is that you will need Vector3.Distance().