How to use function touched when i want to use it in different class

@wenhaozheng I suggest you look over the Ping example. That example has one class for the paddles and one for the ball. You’re code has one class for the ball but 2 classes for the paddles. Trying to take code from ping and make it work in your code isn’t going to work because of the 2 paddle classes.