i know how that you can find the closest item in canvas with the canvas.find_closest() method but i would like that it finds the closest item that follows a specific creteri