var shubiao_pos=position
const SPEED = 300.0
const JUMP_VELOCITY = -400.0
func _input(event: InputEvent) -> void:
if event.is_action_pressed("shubiao_left"):
shubiao_pos=event.position
func _physics_process(delta: float) -> void:
if position.distance_to(shubiao_pos)>10:
velocity=(position.direction_to(shubiao_pos))*6000*delta
move_and_slide()