Animating a rectangle horizontally

How can I animate a rectangle (32px width) starting at x position 0 so that it moves horizontally to the right for 32px every second for 5 seconds, then repeats?

Any help would be greatly appreciated!

I can kind of do this using Tags for the X Axis starting at zero placement
([SEC]%5)*32

But it does not start at zero the very first time because it uses seconds to determine placement
You would have to use an animation that does 15 frames per second and it can be triggered by many things.

Hope that helps

Ron
Samsung Developer Relations

Hi Ron,

thanks for your stellar support as always - great and elegant solution approach :wink: