If you want the object to 'drop' in the box you can use sprite->Check if overlapping object(box), if yes, destroy the sprite.
If you want to check x and y together then just add another condition Sprite Compare X < or > box.x with the Sprite Compare Y