I always see the animation in the middle when turn on the phone. How to make animation react on visibility use forward and reset?(KLCK)

I’m making animation for klck, when I’m turn on my phone I want the animation is running and if I’m turn off my phone I want the animation is reset.
I always see the animation in the middle when turn on the phone.

Hi there,

I am not sure if KLCK (and KLWP & KWGT) can detect the phone status (turned on vs turned off), and I don’t think it is possible to do so, but you could try this for your animation:

  • ReactOn: Formula
  • Formula: $if(si(locked),r,f)$if the screen is locked, then reset the animation or else run it forward

I hope this would help.
Did you find the most helpful response to your issue?
Please kindly press the :check_box_with_check:︎ Solution button to mark it as the solution.
This would help others with the similar issue.

:smiling_face: :+1:

Isn’t klck is showing when the screen is locked?
Edit:
Wait, I understand, let me try it

On my phone, whenever the screen is locked, the screen is turned off.

Doesn’t work, because if the screen is unlocked, klck didn’t show anymore

That is why it’s named KLCK • Kustom Lockscreen… it works only in the screen lock state. For the screen unlock state, you can use KLWP and/or KWGT.

Some phones may have different states of screen lock & screen off, my phone will turn the screen off right after the screen is locked.

Perhaps somebody else here in the forum have another solution?