How do you make a switch mode button?

Hello, I'd like to know how to make a button for switching modes for my car that operates via Bluetooth (HC-05). The main mode of the car is controlled by me, and I've already done that, but I can't figure out how to create logic so that when I press an icon, the mode switches to automatic.

What's a mode?

a Obstacle Avoiding

yo can make a button chain activiting the enable and disable of every button and the arragement windows for make visible and invisible

How to do this? Is there some kind of tutorial?

you can find in youtube a tutorial how to enable and disable button. and how to use arrangement windows. and search in internet reference mit app inventor and you can get basic tutorials about this

his reference its about use modes like change functions using buttons or something like that i think so