Just mouse + hold click. Number keys 1 - Grass 2 - Dirt 3 - Basic For mobile, manually change it in the code.
All me Credit to jess::codes (Youtube) for introducing the dual grid system.