extends State func enter_state(n): get_player().up() pass func update_state(delta): get_player().position=get_player().get_parent().get_local_mouse_position() if Input.is_action_just_released("mouse_left"): change_to_state("selected_back") return if Input.is_action_just_pressed("mouse_right"): change_to_state("selected_back") return pass func update_state_phy(delta): pass func exit_state(): pass func time_out(): pass func process_message(type:String,n): pass