In your code, "boxLocalPos" is using BottomRightVert.y instead of .x, is that it? Also, you might have to invert the positional Y value.