# How to rotate hundreds of objects without key framing each of them?

**URL:** <https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580>\
**Category:** Character & Animation\
**Tags:** keyframes, unreal-engine, rotate, question, Blueprint\
**Created:** [October 6, 2021, 6:00am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580 "2021-10-06T06:00:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beeplum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Beeplum](https://forums.unrealengine.com/u/Beeplum)\
**Post date:** [October 6, 2021, 6:00am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580/1 "2021-10-06T06:00:41Z")

</div>

Hi,  
I’m trying to make an animation of rotating floor panels. I want to use it for a virtual production.  
Currently I’m adding keyframes in the sequence editor to mark the timings of rotations for each cubes. It’s ok for a few panels, but I’m trying to make hundreds of them.  
Is there a way to make the same effects in blueprints?

Thank you!

 ![349934-screen-shot-2021-10-06-at-144959.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/e/cce27d0fe2e892cef67eee2ab5548f3c53594e13.jpeg)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 6, 2021, 7:50am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580/2 "2021-10-06T07:50:10Z")

</div>

Yes. Add them to an array. You can then use a Timeline to rotate them by X deg over Y seconds following a desired curve.

The crux is in the details - what’s the order, timing, the overall desired end effect.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 6, 2021, 8:04am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580/3 "2021-10-06T08:04:56Z")

</div>

At the most fundamental level, it could look close to this:

 ![349942-screenshot-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/5/ad5b0d159bb12c339790ccf0ad4193d70fd4c03c.png)

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/c/5ac367df8bfea6d829b9a682f830120b58c1bb72.gif)](https://gyazo.com/e07f860331aebff4b86686605985a6c7)

But you’ll need to work in a pattern, if needed.

---

<div class="post-metadata">

**Author:** ![Beeplum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Beeplum](https://forums.unrealengine.com/u/Beeplum)\
**Post date:** [October 8, 2021, 3:15am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580/4 "2021-10-08T03:15:26Z")

</div>

Thank you so much for the explanation. After checking the screenshot, I realized that I really need to start learning about blueprints from the fundamentals (and I’m doing it).

I have a question about “For Loop” though.  
As for experiment, I wanted to make a light flicker for 15 times using For Loop node. Here’s what I did:

 ![350072-screen-shot-2021-10-08-at-120613.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/7/4b79858c9ac8d66b22952285196735dabb5f70f6.jpeg)

…and it didn’t work. Could you tell me what I should change?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 8, 2021, 7:45am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580/5 "2021-10-08T07:45:46Z")

</div>

> I wanted to make a light flicker for  
> 15 times using For Loop node […] and  
> it didn’t work.

- loops wait for no one and execute as fast as they can - this _usually_ means a single frame, too fast to notice
- it’s an equivalent of toggling the light 16 times very, very quickly - but you only see the very last result

* * *

There are dozens ways to achieve the goal, here’s one:

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/7/4c7cc9ad143625e141a110a92dcb6007ba58d135.gif)](https://gyazo.com/9a6b459a5ae231da3db9998fc01d9bf3)

Above, 8 _Ons_ and 8 _Offs_ or thereabout 😉 .5s delay

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 8, 2021, 7:52am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580/6 "2021-10-08T07:52:54Z")

</div>

Timers are handy, too:

 ![350074-screenshot-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/4/3b45b7c180f5f541cf3dddda933a4a43cab19785.png)

This will flicker for 10s, with 4 Flips per seconds (.25s). Or you count the changes manually:

 ![350075-screenshot-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/9/fd9d7ab5e98607002500fdbdcaac1f7f9d0d3af5.png)

In all the examples above you can use Toggle rather than FlipFlop, ofc.

* * *

There are also more advanced techniques, curves, light functions, timelines and so on.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 8, 2021, 8:10am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580/7 "2021-10-08T08:10:31Z")

</div>

And here’s something more artsy:

> **[random flicker from Single Blueprint](https://forums.unrealengine.com/questions/1014081/random-flicker-from-single-blueprint.html)**
>
> Hi, I have a blueprint with a point light in it set up to cycle through a timeline to create a “constant flicker”. Problem is that when I put more than one in a single scene they play the timeline at the same time and pulse all the same. Can anyone...

---

<div class="post-metadata">

**Author:** ![Beeplum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Beeplum](https://forums.unrealengine.com/u/Beeplum)\
**Post date:** [November 2, 2021, 7:05am UTC](https://forums.unrealengine.com/t/how-to-rotate-hundreds-of-objects-without-key-framing-each-of-them/489580/8 "2021-11-02T07:05:08Z")

</div>

Thank you so much Everynone!! The way you explained it was super helpful. Have an awesome November! 🙂
