Auto saving

Hi creators
I want make the effect Auto-save the values of slider and (picker ui) which selected by the user.
How I can make it pls.

Hi. You can use persistence module in script. Or if you’re not familiar with scripting, you can check out @Keeator 's gumroad for it : Spark AR - Persistence Module Kit (v125+)

1 Like

Here’s a quick example:

const NativeUI = require('NativeUI')
const Persistence = require('Persistence')
const slider = NativeUI.slider
const userScope = Persistence.userScope

    slider.value = val.value

slider.value.monitor({fireOnInitialValue: true}).subscribe((val)=>{
    userScope.set('slider', {value: val.newValue})