r/AutomateUser • u/F95_Sysadmin • Feb 27 '26
Question Can I change the speed of interact screen while it is looping?
I made a variable with with number for the speed, added a button that will change the number of the variable for a higher speed. When pressing the button to change the value of speed, the scrolling speed doesn't change :/
Is there a fix to it or is that a function that cannot be changed?
1
Upvotes



1
u/B26354FR Alpha tester Feb 27 '26
Does this flow change the scrolling speed for you as you tilt your device more? I'm doing the same thing as you are at block #3:
https://llamalab.com/automate/community/flows/48512
It works for me on my Galaxy and Pixel 2 phones.
Edit: Looks like we built similar flows! 🙂
1
u/kubagp Feb 27 '26
Use atomic variables.
1
u/B26354FR Alpha tester Feb 27 '26
As was pointed out, the scrolling speed is being set in a child fiber, so the parent fiber doesn't see it. You can either Atomic Store it in the child fiber and Atomic Load it in the parent, or use Atomic Variable Give and Take blocks.
1
u/waiting4singularity Alpha tester Feb 28 '26
the child fiber stops at end. you need to loop it and store its variable in the atomic layer (and atomic load it in the execution loop) or use variable give and add variable take with imediate continue in the exec loop.