Problem with navigation in an inventory

I’m new to game development and here too. I made some pages of an inventory with some global boleean variables which when they are true, get me to the next page of my inventory. The boleean variables (each one with a different name) are activated when i click on a sensitive zone located at the exact same location on each page (arrow). That work for the first arrow, which send me to the next page, but not for the second arrow.
Sorry, i don’t know how to include screenshots