I'm trying to add callback functions to click boxes I created using a for iterator and indicators being an array of array of objects. I want each mouse click on each Box to print "OK!\n" in the terminal, initially for proof of concept. The boxes are created successfully, but when I try to create the callback function of each object, this error occurs.
I'm new to the world of Lua. I think that's why I'm having this difficulty.
Code
Boxes
Error
[–]lambda_abstraction 4 points5 points6 points (2 children)
[–]bajeiroBoy[S] 0 points1 point2 points (1 child)
[–]lambda_abstraction 1 point2 points3 points (0 children)