Does your credit score go down when you get a preapproval?

I got preapproved today for a mortgage. But I’m curious, does that mean my credit score will go down just because I did that?

I heard that it does.