Ganesha idols are often placed near entrances or doorways to invite good luck
https://infodin.com.br/index.php/The_Cultural_Significance_of_Ganesh_Chaturthi_Festival_and_Ganesha_Statues_at_Home_69509
Ganesha idols are often placed near entrances or doorways to invite good luck and protect the household from negative energies