USlateBlueprintLibrary::AbsoluteToViewport

Translates absolute coordinate in desktop space of the geometry provided into local viewport coordinates.