panels
panels copied to clipboard
Make animations loopable
The animation that you can make on a layer (x, y and opacity) could be nice to be able to loop (in ping pong mode). The animator object in the SDK supports it. You just have to set
layer.animator.repeatCount = -1
layer.animator.reverses = true