I was just wondering if the kicker matters in a flush, heres the situation:

kid 1: Kd 9d

Kid 2: 10d 7d

community: Ad 8d 3d 9h 2c

since they both have an Ace high flush, do they split? or do they go to the kicker in which this case Kid 1 would win?