Trying to highlight an object based on mouse position and cant fix an offset

It shouldn’t be. GetMouseLocation() doesn’t take the inset into account, but niether does :ViewportPointToRay() so it should cancel out. Also it worked perfectly on my system when I tested it.