[Retool mobile] A built in way to get current screen's name

There can be a scenario when we would like to execute certain queries only when we're on my_screen_3.

For now, what I did is;

  • Created a variable called current_screen
  • On load of each screen, manually set the variable current_screen to whatever name I gave to the screen that's being loaded/opened

Hi @ali-sajjad-rizavi

You can also use the retoolContext to track which screen the user is on