Do you see any errors in verse invisible code?

Hello, a while ago I saw this code in verse
to make your character invisible, I have integrated it into my game but the problem is that the card is visible, do you see a problem in the code or do you know what it could be?