Hi,
What is the best way to make a Object Rotate when you double tap it?
I can make it rotate nonstop with:
local function rotate (event)
obj.rotation = obj.rotation +2
end
Runtime:addEventListener( “enterFrame”, rotate)
But what I really want is when you double “tap” the object it rotates.
I tried doing things like Runtime:addEventListener(“tap”, rotate")
but nothing happens will anyone point me in the right direction please,
Thank You!
[import]uid: 30314 topic_id: 6574 reply_id: 306574[/import]