def METHOD_NAME(self):
    if self.left_down and not self.right_down:
        self.player_sprite.change_x = -MOVEMENT_SPEED
    elif self.right_down and not self.left_down:
        self.player_sprite.change_x = MOVEMENT_SPEED
    else:
        self.player_sprite.change_x = 0