Sorry for a delay in answering β I see this thread is duplicate of Picking 2D geometry , see my answer there