Hi guys,
how can move an object just by touching the screen and it will move until i release my touch 
i trying to do it by: 
btn_right:addEventListener("click",
	function ()
		ship.xdirection = -1
		local x = ship:getX()
		x = x + (ship.xdirection * ship.xspeed)
		
		if x < 0 then
			ship.xdirection = -1
		end
		
		ship:setX(x)
	end)
but it only moves it when i touch the screen , i need a flowing movement 
                
                
             
        
Comments
http://giderosmobile.com/forum/discussion/1333/multitouch-ui
Yours is not multi touch but the same logic. You need to use event ontouchmove not onclick.