So, this is something that I've wanted to learn for a long time now and I don't expect the answer to be short. I am making a running simulator where I have "Speed orbs" that increases the player's speed when he or she touches it. I want the orbs to appear randomly on the map but in some cases, the orbs may spawn at the same location and I don't mean that as in the exact same position but close enough to touch each other. So my question is, what tactic should I use to check if a part is already in a certain position so that two orbs don't end up too close to each other and so that I can use it in other cases?
Edit: If it wasn't clear enough in the original post, I don't mean how do I check if something is in an exact position, that's easy to do with: if(Object).Position == (position) then. I am wondering how I can check if the new orb I will spawn in any way will interfere with an old orb
Edit2: I have been scripting for over a year now and can thus take on complicated ways to do this

2 comments
don't post primarily opinion-based questions...
if statement