Like the N word, it is different when a white person says it, because of the magical powers God gave white folks.
But whites can be called Whitey, Honky, Soda Cracker, etc etc etc. My son was playing at McDonald’s when he was a little kid. A little black girl was playing there too, and she kept calling my son YOU WHITE BOY. She was only about 5 or 6. My son didn’t respond. The girl’s older brother who was about 8 scolded her and told her that was not nice and to stop saying it, and asked her how she would like it if my son called her a little black girl. I thought the older brother was right and he was smart to nip it in the bud. They were all playing, race had not been a problem or an issue. They were all playing nice. It was nice that the older brother set the little sister straight. Then they all three went back to playing. My son was shocked, since he would never call someone a name because of their ethnic group.