Cops busted a Bronx burglar early Saturday who was trying to hide under the cover of darkness — but was nabbed after aviation units spied him with thermal imaging cameras, officials said.

Carl Summers, 56, broke a window at the United Cerebral Palsy school on Stillwell Avenue near Wickham Avenue at about 1:20 a.m. and swiped containers of PediaSure protein shakes, police said.

Summers tried to hide from responding officers in a wooded area nearby, but Special Operations aviation pilots spotted him from the sky with the thermal technology and tipped off cops on the ground, the NYPD said.

“Last night in the Bronx, a burglar thought he was playing a game of hide & seek. He lost,” Commissioner Dermot Shea wrote.

Video of the takedown shows officers canvassing while the suspect attempts to hide nearby, but is quickly surrounded and taken into custody.

“You can run but you can’t hide,” NYPD Special Ops tweeted

Summers was arrested and charged with burglary, criminal mischief and criminal possession of stolen property, authorities said.