closeCard
Syntax
on closeCard
...
end closeCard
Explanation
Whenever Stacksmith shows a different card, it sends an closeCard
message
to the outgoing card before it starts loading the new one, which allows the card’s script to perform some clean-up.