Making The Nearest Mesh Active

Hello, I’ve started making a game, and the idea is using paddles to hit the ball to try and get it to the top. (hey, common, give me a break - it is my first game)

But I don’t know how to make the nearest paddle active. (Nearest to the ball)

So, just to clear things up. I have aload of paddles all going up, and I when the ball is near it, I want the user to be able to controll the paddle that is earest to the ball. How do I make the nearest paddle become active?

you’re going to have to be more specfic

(what do you mean by active?)

but based off of the word “nearest” you can use a near sensor, and if your picky some python to find the closest object by looking at the distance away the objects found in the near sensor are