Every rainy afternoon ends the same way: they're bored, they ask for the tablet, and an hour later they're still scrolling. Most toys get a few minutes of attention and then end up at the bottom of the toy box.
You want something that keeps their hands busy and their brains working, and that they actually want to play with.