In my libgdx game , I have 2 screens, menu and list . When I click on the label on the menu screen, I do a setscreen(list) . A new screen will appear, and the menu screen with its shortcuts will disappear.
But when I click on the same positions (from the menu screen where the labels were, but, of course, these labels do not appear because I changed the screens), the click event responds. Why?
Note. On my list screen, there are currently no event handlers for any widget.
When switching screens, do I need to do more than just setscreen(anotherscreen) to turn off the old screen?
user494461
source share