Grandparent rights?

How do grandparental rights work? Me and my boyfriend are both in agreement that his mom is too toxic to be around our daughter, but now she says she’s taking us to court for rights. We live in Kentucky and she lives in Pennsylvania if that helps.