I'm trying to set a local variable in a card script, so that I can update its value and get it as needed.
On the card script I've written:
Code: Select all
local thisVar = 23
on tryThis
answer thisVar
end tryThis
In the same card there's a button that does this:
Code: Select all
on mouseUp
put 21 into thisVar
tryThis
end mouseUp
What am I doing wrong?
Thanks a mil!
