I have two 2D meshes next to each other in Blender. I plan to scale-animate one of them (with the connecting edge remaining constant). I'd like the two meshes to have a linear color gradient go across them. The following image shows a schematic of what I'm trying to achieve (the 2 rectangles representing my 2D meshes in Blender).
This schematic is drawn in figma, which provides a handy "from-color-1-to-color-2" overlay over the shape to be colored making it easy to coordinate such a color gradient across two shapes because this tool lets you specify the start/end color right at the edges you're interested in.
However, all I have seen in Blender so far when it comes to color gradients doesn't suggest a way to precisely determine the start/end color for any given edge of a 2D mesh. Is this possible? Thanks!