How do I clear a variable?

Thanks, one thing that worked for me was set the variable to “nothing” and then removed from parent later, it worked so far.