How to change accuracy of location

Anyone can tell me how to change the accuracy of location?

Ensure you have cellular and wifi enabled on your device. Location is provided by the OS using the GPS chip, and availability of things like cell towers and wifi signals that have been mapped by third parties. Certainly, that was how it used to work and I have not heard anything counter to that since.

Yeah, but the default setting of location in scriptable is setted to best accuracy, how can I change to hundred meters accuracy? I try to write in code but all try give me error

That should just be, for example:

Location.setAccuracyToHundredMeters();
console.log(await Location.current());

No errors when I run that, and gives me a reasonable looking result.

1 Like

yeah, tried this thing just an hour ago and seems work fine