Hey guys,
I’ve been playing with Corona for a few hours now, and I love it! I am having an issue with moving an object while a button is pressed down, and I’d appreciate it if someone could help steer me in the right direction.
I don’t fully understand even listeners quite yet, so I’m sure that’s where the problem lies.
Basically what I have right now is
local buttonHandler = function( event )
transition.to( block, { time=500, x=(block.x+10)} )
end
However, I can’t figure out how to make the transition call repeat until the user releases the button.
Thanks in advance!
[import]uid: 22447 topic_id: 5380 reply_id: 305380[/import]