how to destroy obstacles if it overlaps with the coins

hi guys do you know how to destroy obstacles if it overlap with the coins without begin overlap and get overlapping actors because i tried them both didnt work the obstacle should be moved to make it work