Pawn sensing for flying characters?

so pawn sencsing works great tho since my characters have the ability to fly as soon as they do the opponent that was following me and trying to kill me just stops…even if im flying just 2 cm from the ground haha, so please anyone have a solution for this???