# Moving Platform relative to current position within a given Range

**URL:** <https://forums.unrealengine.com/t/moving-platform-relative-to-current-position-within-a-given-range/341425>\
**Category:** Character & Animation\
**Tags:** moving-object, move-component-to, unreal-engine, question, Blueprint\
**Created:** [December 14, 2015, 11:33am UTC](https://forums.unrealengine.com/t/moving-platform-relative-to-current-position-within-a-given-range/341425 "2015-12-14T11:33:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cribbel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cribbel](https://forums.unrealengine.com/u/Cribbel)\
**Post date:** [December 14, 2015, 11:33am UTC](https://forums.unrealengine.com/t/moving-platform-relative-to-current-position-within-a-given-range/341425/1 "2015-12-14T11:33:17Z")

</div>

Hey,

I am trying to make a system for platforms, in which I place a few moving platforms in the world and they move within a range at the spot they were placed. As an example:

Imagine the platform is placed at 10, 10, 10 in the world. I now wanna move it along the Y axis + and - 10 from the current position. But if I now place it at 30, 30, 30 it should take that position and move it + and - 10 on the Y axis. I did this before in Unity with no problems, so I tried to use similar logic using the blueprint system in UE4.

Here is my approach, but for some reason nothing happens within the world. All platforms stay still 0 movement is seen. In my head this blueprint seems logical, but I am still very new to acutally mechanisms in blueprints. So far I am only good with material blueprints.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/a/aaa7771e1be6be1e830f4fffc73ac9a7898dd926.png) ](https://i.imgur.com/293Tc57.png)

Any help is greatly appreciated and please no matinee, I want this to be pure blueprint (as far as possible).

Thanks in advance  
Kind Regards

Cribbel

---

<div class="post-metadata">

**Author:** ![getnamo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/getnamo/32/1194624_2.png) [@getnamo](https://forums.unrealengine.com/u/getnamo)\
**Post date:** [December 14, 2015, 7:16pm UTC](https://forums.unrealengine.com/t/moving-platform-relative-to-current-position-within-a-given-range/341425/2 "2015-12-14T19:16:53Z")

</div>

Your platforms are they components? because you _Move Component To_ component pin is empty. Also shouldn’t this logic be triggered instead of ticked?

---

<div class="post-metadata">

**Author:** ![Cribbel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cribbel](https://forums.unrealengine.com/u/Cribbel)\
**Post date:** [December 14, 2015, 7:30pm UTC](https://forums.unrealengine.com/t/moving-platform-relative-to-current-position-within-a-given-range/341425/3 "2015-12-14T19:30:29Z")

</div>

Hmm that might be it, I just added a mesh to the blue print and thought it would automatically reference that. I will try this once I am back on my PC, and for the second question. Its suppose to be constantly moving (for now) so I think using Event Tick should be the right choice. 🙂 Thanks already 🙂

---

<div class="post-metadata">

**Author:** ![Est\_engine](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/est_engine/32/1008648_2.png) [@Est\_engine](https://forums.unrealengine.com/u/Est_engine)\
**Post date:** [December 15, 2015, 3:13pm UTC](https://forums.unrealengine.com/t/moving-platform-relative-to-current-position-within-a-given-range/341425/4 "2015-12-15T15:13:17Z")

</div>

Hi man , this is on my first Platform selfmoving.  
you can give him a Distance , a direction (vector). and a speed(changing the X in the DO1onX)  
It will go endlessy forward and back.

Hope this help you .

 ![70731-moveme.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/e/a6eb6b573bd2cd43f09078c6dd0f3c475fcf5435.jpeg)
