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?