I'm beginning programming apps with App Inventor. I have an app with several screens, but instead using screens I'm using Vertical Arrangements. With the help of a Timer I make the animation of the transition when an VA collapses and the next one appears. It works fine, but as I have a lot of animations among the VA, the amount of blocks inside the "When Clock1 Timer" is huge.
Is there a way of making a procedure that takes as parameters the 2 Vertical Arrangements to reduce the amount of blocks by calling this procedure?
I have attached a part of the code to illustrate what I mean.
Thank you in advance for your help.