Hi, I have multiple buttons linked to a single script, and I'm trying to have the script determine which button triggered it. I added a variable to the script and it gives me a hexadecimal table, but I cannot manage to turn that into an id or anything. Any property I add returns nil.
Code: Select all
function checkTrigger(trigger)
print(trigger)
print(trigger.id)
end
table: 0x46edd46
nil
Any insight?