Node red tab on dashboard

hi everyone

is there any way to know wich actual tab we are in node red's dashboard with a code program inside a function node ? i would like to do something like this in a function node :

if garden_tab is pushed
do something

if room_tab is pushed
do something

Have you tried the ui_control node?

3 Likes