How to call an object inside a function? Example: The “pencil” object is inside a function, and after closing it, I have to use
pencil:removeEventListener ("touch", moveLapis)
how do I do that?
For when I call it normally, an error saying that the pencil is NIL