Hi All,
I am very newbie on corona. (almost 2 hours 
I have a pipe and a ball.
I want when move my ball than my pipe’s height change but my pipe’s y positions doesnt chenge. But pipe growing to double way.
My Source is below. please help me.
local physics = require("physics") physics.start() display.setStatusBar( display.HiddenStatusBar ) local background = display.newImage( "jungle\_bkg.png" ) background.x = display.contentWidth / 2 background.y = display.contentHeight / 2 background.width = display.contentWidth background.height = display.actualContentHeight local pipe pipe= display.newImage("board.png") pipe.x =display.contentWidth / 2 pipe.y =1 local ball ball = display.newImage( "coconut.png" ) ball.x =display.contentWidth / 2 ball.y =35 physics.addBody( ball,"static" , { density=0.6, friction=0.6, bounce=0.6, radius=19 } ) local MoveBaby = function( event ) ball.x=event.x ball.y=event.y pipe.height=ball.y pipe.y = 1 return true end ball:addEventListener( "touch", MoveBaby )
