get the position where the touch occur
Hi, sorry for asking so many questions. But i dont understand how i can get the position where the touch occur. use setevent(EVENT_IDS, callback [, param]) to register a callback, the position is in the callbackfunction callback(node[, event, param, x,y]){}
x,y is where is touch happens in Node coordinates, not world coordinates. There is a section about Node coordinates in manual.pdf thanks for your answer:P
Page:
[1]