Box mask not working in game

I’m trying to make a bag of holding in my game. When my character pulls a weapon from her bag the weapon would be to big to fit in there. I’m using a “box mask 3d” on my weapon materials to hide the meshes as they get pulled from the bag. It works fine in the Editor but as soon as I try it in game the mask is not working. Does anyone know why this would be happening?

Note: I’m newer to Unreal, I mostly used unity or in house studio engines in the past.

Instead of adding your Set Vector logic to the Construction Script, move it to the Event Tick on the Even Graph.

that didn’t work for me