Some bugs you need to fix
If your mouse move fast enough, you can pass the wall without any notice. That's because the frame didn't pictured the ball touching the
wall. To fix it you could higher the fps (but would make tweening wall go faster) or use Math() collision system.