How can I assign a Firebase value to a Kodular global variable

I want to change a Firebase value ($fbv) to another value based on his own value ($fbv-1) and assign it to a variable ($var = $fbv).

Any suggestions?

Very straight forward.

Get the value, assess its tag, you can assign base on the value and a math function all at once.

Get.Value

If Tag contains “xyz” set global var = value

set global var= (global var) -1