You can use
To print values to the debug log. I’d recommend describing what your printing by going
print("My Value is: " .. my_value)
Here’s a description of everything. "My Value is: " is just a string. You can type any string in the print function and it will print it. The ‘…’ (Should be two dots, but post auto-corrects it to 3) is called a concatenation. It adds a string to a string.
If you get an error saying something like: “attempt to concatenate (my_value). (my_value) is not string.” All you have to do is change the print function to this:
print("My Value is: " .. tostring(my_value))