Is there a Easier/More Readable way to do Spotlight set_param?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lavaduder

If you look in the docs for spotlight, it has only one function set_param. With a enum. However it isn’t explained very well, and just looking at the function seems off.

for example
Spotlight.set_param(3,14) is to increase the range to 14.

I’m wondering if there is a better way to do this.