/Engine/Plugins/2D/Paper2D/Source/Paper2D/Public/AlphaBitmap.h
Wind through the bitmap from StartX, StartY to find the closest hit point.
bool FoundClosestValidPoint ( int StartX, int StartY, const int MaxAllowedSearchDistance, FIntPoint & OutHitPoint ) const