Hanky code
Also called bandana code, flagging, handkerchief code, hankie code, flagging left, flagging right
What does “Hanky code” mean?
A system of colored bandanas worn in a back pocket to signal interests and roles. It took shape in American gay leather and bar culture in the 1970s, when discreet signals helped men find each other safely. Left pocket traditionally means a top or active role and right means a bottom or receptive one. Charts vary widely, and today flagging is as much heritage and fashion as signal.