# How do I move a cube?

**URL:** <https://forums.unrealengine.com/t/how-do-i-move-a-cube/307599>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [February 21, 2015, 3:40am UTC](https://forums.unrealengine.com/t/how-do-i-move-a-cube/307599 "2015-02-21T03:40:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechGaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TechGaming](https://forums.unrealengine.com/u/TechGaming)\
**Post date:** [February 21, 2015, 3:40am UTC](https://forums.unrealengine.com/t/how-do-i-move-a-cube/307599/1 "2015-02-21T03:40:46Z")

</div>

**Hello!** I made a cube on my game… So, how do I move the cube to the position where I want it?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [February 21, 2015, 4:00am UTC](https://forums.unrealengine.com/t/how-do-i-move-a-cube/307599/2 "2015-02-21T04:00:23Z")

</div>

You can move either by using ProjectileMovementComponent which you add to actor and it moves object according to settings it has or changing location on tick event, which is executed on every frame, in that case remember to scale location change (your movement) with delta time

---

<div class="post-metadata">

**Author:** ![TechGaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TechGaming](https://forums.unrealengine.com/u/TechGaming)\
**Post date:** [February 21, 2015, 4:10am UTC](https://forums.unrealengine.com/t/how-do-i-move-a-cube/307599/3 "2015-02-21T04:10:25Z")

</div>

Is there an easier way? And how do I find ProjectileMovementComponent?

---

<div class="post-metadata">

**Author:** ![trutty](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@trutty](https://forums.unrealengine.com/u/trutty)\
**Post date:** [February 21, 2015, 1:19pm UTC](https://forums.unrealengine.com/t/how-do-i-move-a-cube/307599/4 "2015-02-21T13:19:34Z")

</div>

Please be a little more specific on your question. If you simply want to position your cube on the editor/world, then select your cube/actor in the `Scene Outliner` and check the `Details` panel for the `Transform` section. If you want to position your cube using Blueprint or C++, call its `SetActorLocation` function
