VR - Blueprints Sliding objects

Hi,
I am Karolina and I am new here. I am looking for help with my game, develop for VR.
I try to do simple blueprint for sliding the drawer in the desk, but I don’t know how to lock the position of the drawer, to move only horizontally and lock when is fully open.
I would be grateful for any help.

Thanks
Karolina

Hi Karolina,
welcome to UE4!

this here could help you find a solution:
https://forums.unrealengine.com/development-discussion/content-creation/43468-interactive-furniture-physics

Learn about Physics Constraints in UE4 for better understanding:

A good youtube channel for this topic called Lusiogenic:UE4 How to - Sliding Door using Physics Constraints in Unreal Engine 4 Tutorial - YouTube
Cheers!