  Arrays of microcavity polaritons are very versatile systems that allow for
broad possibilities for the engineering of multi-orbital lattice geometries
using different state preparation schemes. One of these schemes, spatially
modulated resonant driving, can be used to selectively localize the polariton
field on a particular region of the lattice. Both the frequency and the spatial
amplitude distribution (module and phase) of the driven laser field are
important and serve as a knob to control the extend of the spatial
localization. Here, we analyse both the linear and nonlinear regimes using the
lattice Green function formalism that is particularly suitable for the case of
polariton arrays described in a tight-binding approximation. We identify the
conditions for maximum localization on arbitrary lattice's geometries and
discuss some experimentally relevant cases. We find that the
polariton-polariton interaction leads to a frequency shift of the optimal
localization condition that could be used to further control it.
