def METHOD_NAME(self, key, modifiers):
    x = self.mouse["x"]
    y = self.mouse["y"]
    if key == arcade.key.KEY_1:
        point = x, y
        self.player_sprite.face_point(point)
        self.text = "Instant angle change"
    if key in [arcade.key.KEY_2, arcade.key.KEY_3, arcade.key.KEY_4, arcade.key.KEY_5]:
        p1 = self.player_sprite.position
        p2 = (x, y)
        end_angle = -arcade.get_angle_degrees(p1[0], p1[1], p2[0], p2[1])
        start_angle = self.player_sprite.angle
        if key == arcade.key.KEY_2:
            ease_function = easing.linear
            self.text = "Linear easing - angle"
        elif key == arcade.key.KEY_3:
            ease_function = easing.ease_in
            self.text = "Ease in - angle"
        elif key == arcade.key.KEY_4:
            ease_function = easing.ease_out
            self.text = "Ease out - angle"
        elif key == arcade.key.KEY_5:
            ease_function = easing.smoothstep
            self.text = "Smoothstep - angle"
        else:
            raise ValueError("?")
        self.player_sprite.easing_angle_data = easing.ease_angle(start_angle,
                                                                 end_angle,
                                                                 rate=180,
                                                                 ease_function=ease_function)
    if key in [arcade.key.KEY_6, arcade.key.KEY_7, arcade.key.KEY_8, arcade.key.KEY_9]:
        p1 = self.player_sprite.position
        p2 = (x, y)
        if key == arcade.key.KEY_6:
            ease_function = easing.linear
            self.text = "Linear easing - position"
        elif key == arcade.key.KEY_7:
            ease_function = easing.ease_in
            self.text = "Ease in - position"
        elif key == arcade.key.KEY_8:
            ease_function = easing.ease_out
            self.text = "Ease out - position"
        elif key == arcade.key.KEY_9:
            ease_function = easing.smoothstep
            self.text = "Smoothstep - position"
        else:
            raise ValueError("?")
        ex, ey = easing.ease_position(p1, p2, rate=180, ease_function=ease_function)
        self.player_sprite.easing_x_data = ex
        self.player_sprite.easing_y_data = ey