How can I ignore/disable user input on canvas?

Hello there! First of all, sorry for my bad english, this is not my native tongue. Also, thanks in advance for your help.

Now, I have the following problem. I’m creating a card gam where most of the interactable stuffs lives inside a canvas.

I would like to either disable or ignore the user input over that specific canvas whenever I am performing some “blocking action”. For example: playing a card. The user should sit while the cards plays its animation, provides a new score and gets discarded.

Right now, my players can play a card and keep doing stuff, and I want to totally avoid that.

How can I achieve my goal? Right now, the only solution that I could think of if adding a canvas group to the canvas to later enabling/disabling the “Blocks Raycasts” checkbox, but it seems a bit hacky.