Opening of vertical arrangements when back pressd

I have 3 vertical arrangemets in screen2 and two buttons on vertiacl arrangement1 they open other two arrangemts respectively upon clicking.i want my that when it is back pressed then it should open vertical arrangement 1 and when arrangemnt 1 is open now upon press back button it opens screen 1.
Here is my work check it and help me get the right way

1 Like

This post was flagged by the community and is temporarily hidden.

1 Like

Use when back press, ‘if’ ‘not’ vertical arrangement visible , then set visible Vertical arrangement, disable all other arrangements, ‘else’ close screen

Try to add if else condition like if vertical arrangement to is visible then set vertical arrangement to visible to false and if vertical arrangement two and three is visible to false then open another screen screen name



This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.