用addTouchEventListener 我写的代码形式如下 local func=function(sender) xxxxxxxxx end local btn=layer:getChildByName("Button") btn:addClickEventListener(func)