Lock Movement position

Hi!
I’m using UE 4.13 with the VR template.
I want to move an object on the x and y axis, blocking the z axis.
Is there a way to make this?
I’m using a blueprint to move the objects, but i can’t block the z axis…
Thanks!