There is a law called Megan's law. You are required to disclose to your tenant/buyer about this law when you want to lease/sell your house.
So your potential buyer or tenant can go to some website and search for registered sex offender near your house. Many people can be turned away if they find a sex offender near your house.