Detect X and Y of Each Multitouch Event in Corona SDK
After activating multitouch in Corona SDK, is there a way I can track the
x and y coordinates of each simultaneous touch?
An ideal function would be like this:
local function detectMultitouch(touches)
for i = 0, #touches do
print(touches[i].x .. " ".. touches[i].y) end
end
No comments:
Post a Comment