The collective behaviour of quantum gases strongly depends on the confining dimensionality. Its role in the emergence of a phase transition in a quantum gas of photons has now been explored using a new trapping technique, transitioning from 2D to 1D.