# Noob Question: How to set up Enemies in a "Lane System"

**URL:** <https://forums.unrealengine.com/t/noob-question-how-to-set-up-enemies-in-a-lane-system/372619>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [October 6, 2016, 1:40pm UTC](https://forums.unrealengine.com/t/noob-question-how-to-set-up-enemies-in-a-lane-system/372619 "2016-10-06T13:40:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZachariusStorkanus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZachariusStorkanus](https://forums.unrealengine.com/u/ZachariusStorkanus)\
**Post date:** [October 6, 2016, 1:40pm UTC](https://forums.unrealengine.com/t/noob-question-how-to-set-up-enemies-in-a-lane-system/372619/1 "2016-10-06T13:40:26Z")

</div>

Hi, relatively new to UE4 here. I may have a bit of a complex question to ask.

Im making a prototype for an arcade style lane racing game.  
I guess a better way to picture it would be: Audiosurf but without the musical gimmick, if that makes sense.

I have the player able to switch between a number of different “lanes” (all the same distance from eachother) but now I have no idea how to get enemies/obstacles moving down a lane towards the player.

So far ive tried replicating how I made the player move, by setting the location and then using a timeline to move to it but it just appears in place, instead of moving towards it.

Im using the 2D platformer blueprint template if that helps.

 ![109857-bikerobstbp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/d/aed2f0b783770789bf183ab0d39ca070771a3ae2.jpeg)

---

<div class="post-metadata">

**Author:** ![FatalMuffin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FatalMuffin](https://forums.unrealengine.com/u/FatalMuffin)\
**Post date:** [October 6, 2016, 4:08pm UTC](https://forums.unrealengine.com/t/noob-question-how-to-set-up-enemies-in-a-lane-system/372619/2 "2016-10-06T16:08:51Z")

</div>

I’m not sure how the player’s movement works, but from looking the cube movement, it looks like the timeline is probably setting a static world location every time the timeline runs.

Try something like this

[http://i.imgur.com/PIp5pzB.png](http://i.imgur.com/PIp5pzB.png)

---

<div class="post-metadata">

**Author:** ![ZachariusStorkanus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZachariusStorkanus](https://forums.unrealengine.com/u/ZachariusStorkanus)\
**Post date:** [October 6, 2016, 4:19pm UTC](https://forums.unrealengine.com/t/noob-question-how-to-set-up-enemies-in-a-lane-system/372619/3 "2016-10-06T16:19:28Z")

</div>

Thanks, Ill try it out now.

---

<div class="post-metadata">

**Author:** ![ZachariusStorkanus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZachariusStorkanus](https://forums.unrealengine.com/u/ZachariusStorkanus)\
**Post date:** [October 6, 2016, 4:21pm UTC](https://forums.unrealengine.com/t/noob-question-how-to-set-up-enemies-in-a-lane-system/372619/4 "2016-10-06T16:21:15Z")

</div>

It still snaps to the location rather than moving towards it.
