Super Mario Galaxy/Flipswitch Galaxy

Flipswitch Galaxy is accessible from the Terrace observation dome. You need 7 Stars to enter.

This galaxy consists of a single planet, made up of three sides of a cube.

Star 1: Painting the Planet Yellow
You need to touch each tile on the planet to turn them from blue to yellow. Each time you touch a tile it will flip between blue and yellow, so you may need to do some creative jumping. Avoid the electric fences, the spiky edges of the moving platforms, and the pulses from the pink enemy up at the far end of the top side.

Once all the tiles are yellow, collect the Star by jumping on that same enemy.