I'm using Unreal Engine 5 Blueprints and I am trying to create a door where if the object detects collision, it will move by -5 units along the X axis. Instead, it is moving -1.5 units along the Z axis.
Moving Wall:
Event Hit
|
Move Component To:
Component ——— Cube
Here’s the visual script:

Anybody know what I might have done wrong and/or how I could fix it. It isn’t coming up with an error, but just isn’t working intendedly.
I have tried changing the value from x = -5 to something else and tried using a vector rather than a manual input.