I have groupA with several layers including ObjA. This group has its own transformations and moves.
Then I have groupB with other layers including a mask MaskB. GroupB also has its own transformations and moves independently of groupA.
In my animation I need at some time ObjA to start moving toward groupB and be partially masked by MaskB. From here on ObjA must move integral to groupB as if it belonged to it.
How can I achieve such an effect?