Backpress coding problem

I make a gk app with multiple vertical scroll arrangement. When I touch cghistory then a new screen opened with chapter names. When I click any chapter name then vertical scroll arrangement is visible and questions are seen. Here we backpressd then my chapter name scroll arrangement is seen. Now I want when I click back button at this time then my topics screen4 will opened.
I have uploaded video and backpress coad screenshot.

Try this:
if historyVA_copy_copy.visible{
open screen 4
}
else{
do your code that you’re already doing to show the arrangemnt
}

3 Likes

image
You are getting a problem see where it is and send screenshot that might help.

if there is an empty block then remove it

This warning is not related to my problem.

Yes removed it.

1 Like

can u give all blocks

totally ur choice