main.py
def on_mouse_press(self, x, y, button, modifiers):
        """
        Click left mouse button to start the ball moving if it is at rest
        """
        if (button == arcade.MOUSE_BUTTON_LEFT and self.ball_sprite.change_y == 0):
            self.ball_sprite.change_y = BALL_SPEED
            self.ball_sprite.change_x = 0

        Click left mouse button to start the ball moving if it is at rest
        
Click left mouse button to start the ball moving if it is at rest
Click left mouse button to start the ball moving if it is at rest
def on_mouse_press(self, x, y, button, modifiers):
        if (button == arcade.MOUSE_BUTTON_LEFT and self.ball_sprite.change_y == 0):
            self.ball_sprite.change_y = BALL_SPEED
            self.ball_sprite.change_x = 0
def on_mouse_press ( self , x , y , button , modifiers ) : if ( button == arcade . MOUSE_BUTTON_LEFT and self . ball_sprite . change_y == 0 ) : self . ball_sprite . change_y = BALL_SPEED self . ball_sprite . change_x = 0
Click left mouse button to start the ball moving if it is at rest
Click left mouse button to start the ball moving if it is at rest
"""
        Click left mouse button to start the ball moving if it is at rest
        """
self
x
y
button
modifiers