(iOS) Automatically disconnect when using Cellular Data

Is this possible? I’m mostly using my VPN to watch networks from home when traveling abroad. I don’t need it when on cellular and I want to avoid data drain. Thanks!

Go to settings and enable auto connect on Wi-fi.

Maybe saying thank you would be nice no?

Does that disconnect the VPN when you lose Wifi connection?

It will, tested it just now.