Location Services Toggle for Action

I have an app I use frequently on my Mac called Shadow, a game streaming service similar(-ish) to something like GeForce NOW or Google’s Stadia.

They suggest you disable Location Services while streaming, so less things can interrupt the stream. I figured BTT would be able to enable/disable Location Services based on whether the app was running or not, but I was not able to find any toggle or enable/disable for Location Services.

If a toggle and enable and disable function could be implemented, that would be awesome! Not sure of the macOS limitation of a feature like this, but if possible, would love to see it!

there should be a way to get it to work only when the app is running using apple script, but idk how. also, you should be able to activate/deactivate location services, again with apple script. again. I can't help with this.