Solar-powered shielding mechanism is disclosed. The mechanism includes a shield, a pair of tracks, an energy collecting device for collecting solar energy, storage for storing liquid being heated in the energy collecting device, and a motor powered by electricity generated by a power generator converting heat from the liquid being heated by the energy collecting device. The motor is operated to retract or extend the shield along the pair of tracks.