New to blueprints. Help troubleshooting.

Hi, I am following a tutorial on blueprints where I have to build a simple smasher. As a starting point I need to take a cube and make it move slowly on the way up, pause for a second and then come down fast. The cube has to move up and down the Z axis, but I get a funny result. It moves diagonally and I don’t know why. In the tutorial, they use GetRelativePosition to get the XYZ coordinates of the component (the cube in this case) but that seems to be outdate and can only find GetWorldPosition and I used that. Any help would be much appreciated. Thanks.
![Screenshot |690x298](upload://
Animation
.png)

You need to show your code :slight_smile:

Hi @Eddie33

As @ClockworkOcean states we need to see the blueprint, but from the video it looks like you are adding movement to all axis not just Z for up.

Its possible you have multiplied the movement direct to a vector3 instead of splitting it to individual pins for each axis then only modify the Z