Aligning surface patterns

Hi,

i would like to align the surface patterns of all walls with the surface pattern brick. I doidn’t find a node for this. How can I do this? Which node is the solution?