Set function every 50 step using pedometer

hello kodular team
i need to set function every 50 step using pedometer sensor
any idea for that

What did you try.
I guess you get steps from pedometer if yes then
Update variable steps with these steps and after hat check Everytime this variable step is 50 if yes then call function and reset variable step

how can i count 50 +50 for each time

Did you get steps Everytime

1 Like

yes i will share my aia right now

Then sure you get this from event then,
Create a global variable named step with value 0
Onchange steps evemt add steps to this variable step
After this check if variable step = 50
Then call function
And set this varoable step again to 0
I am not at pc

1 Like

i will do it and feed back to other kodular member’s