how to remove a "Card" with widgets

I been following a tutorial on YouTube make a card widget system but I want a way to remove the Cards to it doesn’t remove itself from the screen and I need help

link: https://www.youtube.com/watch?v=a9jK6HZvxAI

Hey there @Corb_Rock_Star! Welcome to the community! Just to understand the question, assuming from the title, you’re attempting to remove a card from the hand using a widget?