Whats wrong with the following code
function toucher (event,self)
if(event.phase == "began") then
self:setFillColor(240,240,240)
end
end
Rect1:addEventListener("touch", toucher)
I think it has to be that it thinks self is an object… but how would i fix this?
Thanks! [import]uid: 24708 topic_id: 25638 reply_id: 325638[/import]