extends KinematicBody class_name NPC var current_target = null func set_position(position: Vector3): transform.origin = position func move_towards(direction_times_speed: Vector3): move_and_slide(direction_times_speed)