Painting my slant 6

I am going to attempt to paint the engine block of my 340 Duster and wanted to know if anyone has experience painting a motor while leaving it in the engine bay? I have viewed some videos on You tube but hearing tips from someone who has actually done this project would be helpful! Thanks in advance!