I agree Dan or Filip over at expressions are the go to guys:
https://forums.creativecow.net/viewforum/227
Don’t fully understand what you want.
I hear that you can access the vertices or points of the new Shape in AE8, but not mask vertices? I haven’t used AE8 as I’m on AE6.5, so haven’t tested it and maybe it’s not functional until the release. If it works you could use the new Shapes in AE8, maybe with a mask on it.
You can access mask vertices with Da Script:
https://del.icio.us/escruz/Rotoscope
It was written for Roto work so it makes the mask points adhere to track points. But you can sub any keyframes in for the trackpoints, even Expressions converted to keyframes. Here is a link to add a wiggle expression to mask vertices, an expression converted to keyframes.
https://forums.creativecow.net/cgi-bin/new_read_post.cgi?forumid=2&postid=891545
As far as Dan’s expressions, are you talking about “Border Lines”, here:
https://www.motionscript.com/expressions-lab-ae65/table-of-contents.html
If so,I don’t quite understand you’re needing masks as Dan’s Borders us thin/long solid layers instead of masks with stroke.
I guess I don’t still really understand what you’re trying to do, the part about “changing the pan of the comps with masks”.
Can you just use another instance of Dan’s setup for the Pan, but the solid in the middle has a mask on it? If the mask is the same dimensions as the Solid, by selecting the solid then double clicking the Rectangular Mask Tool, then when you changed the size of the solid, you change the size of the mask. Can you use that mask for panning?