Does an all in one pc run cooler than laptop ?

The one I am looking at has GTX 1050 graphics. Would an equivalent laptop run hotter. I am happy with 1080p gaming and not really comfortable with building a desktop besides child present in the home.
4 answers 4