vel.toLocalPoint(x, y)

Convert a global point with coordinates x and y into the coordinate space of the element.