I am trying to make a button unable to touch after i create it, like this:
mybutton:setEnabled("false")
and i will enable its touch again after some transitions will happen;
but is giving me error: Attempt to call method ‘setEnabled’ (a nil value)
Thanks in advance