# Time Loop on Sets

**URL:** https://forums.synfig.org/t/time-loop-on-sets/4442
**Category:** Animation related help
**Created:** [June 15, 2018, 3:24pm UTC](https://forums.synfig.org/t/time-loop-on-sets/4442 "2018-06-15T15:24:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![h4\_Gambiteer](https://forums.synfig.org/letter_avatar_proxy/v4/letter/h/7cd45c/32.png) [@h4\_Gambiteer](https://forums.synfig.org/u/h4_Gambiteer)
#### Post date: [June 15, 2018, 3:24pm UTC](https://forums.synfig.org/t/time-loop-on-sets/4442/1 "2018-06-15T15:24:58Z")

</div>

Okay, I’ve never used sets before, but I feel like this is the way to do what I want to happen.

Problem:  
I want an object to travel across the screen from right to left, over 60 frames. I also want that object to vibrate say 10 pixels up and down every frame. Obviously I don’t want to make 60 waypoints where I just move it up 10 pixels and back 10 pixels.

Normally, I’d create a translation layer to go from left to right, then a time loop layer for 2 frames, then another transformation layer that goes up 10 pixels on frame 2. This would achieve the desired effect.

HOWEVER, I cannot do this because I have other motions going on below all that. So when I try to add the time loop, it loops everything underneath the transformations, which I don’t want.

My idea is to use “sets” so that I can still make the time loop layer adhere to the single transformation layer (which adheres to the entire object). I can’t figure out how to make the sets work though.

Thanks!

---

<div class="post-metadata">

### Author: ![Majkel](https://forums.synfig.org/user_avatar/forums.synfig.org/majkel/32/190_2.png) [@Majkel](https://forums.synfig.org/u/Majkel)
#### Post date: [June 19, 2018, 11:21am UTC](https://forums.synfig.org/t/time-loop-on-sets/4442/2 "2018-06-19T11:21:02Z")

</div>

Hi  
You can achieve this without time loop layer  
simply right click on origin =\> convert =\> composite  
You will see you can transform x-axis and y-axis independently, next right click on y-axis =\> time loop. When you set a value remember it is in su  
Now you can set loop like in example

[example.sifz](https://forums.synfig.org/uploads/default/original/2X/6/6236caf4292c6fb0c28a31439ec2ca809ddfa145.sifz) (1.02 KB)
