I tried that expression, it only works when the composition is divided by half. I had a composition with the resolution 1080×1920 and that expression made the layer alignment off center, I had to manually adjust the position values. I want to find a expression that will have the position point of the card wipe effect to stay aligned in the middle regardless of composition size.