# Spawning Multiple Instances and relocating

**URL:** <https://forums.unrealengine.com/t/spawning-multiple-instances-and-relocating/467085>\
**Category:** Asset Creation\
**Tags:** expose-on-spawn, Instanced-Mesh, unreal-engine, multiple-instance, question\
**Created:** [June 22, 2020, 3:49am UTC](https://forums.unrealengine.com/t/spawning-multiple-instances-and-relocating/467085 "2020-06-22T03:49:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [June 22, 2020, 3:49am UTC](https://forums.unrealengine.com/t/spawning-multiple-instances-and-relocating/467085/1 "2020-06-22T03:49:36Z")

</div>

Hi I am struck at spawning multiple actors of the same class

Scenario -  
I am spawning ‘X’ actor class after spawning it should move from Point A to Point B in 10 seconds and I am able to do this functionality by spawning Whenever I need

 ![305111-spawn.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/d/4edec9d091a3bafa368261ba63ca44f13536cad6.jpeg)

But when I spawn the same X actor class when the first instance is in the middle of Point A to Point B Second instance is spawned and the First Instance is paused without any changes in that same location. Now the second instance is moving from Point A to Point B

Here my question is I want to relocate all the spawned actors to Point B

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [June 22, 2020, 6:28am UTC](https://forums.unrealengine.com/t/spawning-multiple-instances-and-relocating/467085/2 "2020-06-22T06:28:54Z")

</div>

That happens because when you spawn X and you saved it in “Spawned Car” it replaces whethever previous X was in “Spawned Car”.  
So, you either wait for each actorto reach Point B before you spawn another one, or you save them in an array

---

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [June 22, 2020, 6:43am UTC](https://forums.unrealengine.com/t/spawning-multiple-instances-and-relocating/467085/3 "2020-06-22T06:43:36Z")

</div>

![305100-spawn.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/5/7a53f44b02f097f0751cde00290774e95729f573.jpeg)

Are you expecting this? Even though the same problem is occurring

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [June 22, 2020, 6:52am UTC](https://forums.unrealengine.com/t/spawning-multiple-instances-and-relocating/467085/4 "2020-06-22T06:52:43Z")

</div>

Not really. Perhaps it would be better if the “Spawned Car” did the all moving. Setting the moving logic in “Spawned Car” itself, would eliminate all problems.

---

<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:** [June 22, 2020, 9:26am UTC](https://forums.unrealengine.com/t/spawning-multiple-instances-and-relocating/467085/5 "2020-06-22T09:26:26Z")

</div>

EvilCleric is right. This should be in the car blueprint for most cases.

If you _must_ do it outside of that class, you could loop it like so, though:

 ![305121-annotation-2020-06-22-102334.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/0/c30e799f7ef47665d47e62dd61572f4a66bd3f79.jpeg)

---

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [June 22, 2020, 9:37am UTC](https://forums.unrealengine.com/t/spawning-multiple-instances-and-relocating/467085/6 "2020-06-22T09:37:45Z")

</div>

Thank you so much
