Until now, bearded dragons had their gender based on chromosomes.