Auto Layout buttons - Horizontal for web, vertical for mobile

How do I get auto layout buttons to flow horizontally for desktop sized frames and vertically for mobile sized frames?

The forum says I do not have permission to post images otherwise I would share a visual of what I am looking to do.

Currently I can only pick vertical or horizontal but there is no way to tell Figma to switch when the frame gets thinner.

I have searched for a solution but cannot find one. Any help would be awesome. Thanks!

This isn’t possible in Figma. Currently to design for mobile you have to make a different sized frame and copy the auto-layout there and make it vertical.

Wrapping for auto-layout (and min/max widths or % widths for items) would save me so much time in Figma every day, but I’m worried we won’t be getting these features anytime soon.