Controlling Spatial Distribution of Functional Groups