<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_mouse_scroll(self, x, y, dx, dy):
 """ Zoom the view. """

        self.view['ball'].scroll(dy)
        self.scene.camera.transform = self.view['ball'].pose