Press object and make it biger. Help please

Thanks man. it works. I really appreciated. Is there a way to set like max click to 5? [import]uid: 11559 topic_id: 19982 reply_id: 77938[/import]

Try this :slight_smile:

[lua]local shape = display.newImage(“levels/shape.png”, display.contentWidth/2, display.contentHeight/2)

local i = 1
local function shapePressed()
if i > 5 then return end
transition.to(shape, {time=10, xScale = shape.xScale + 1, yScale = shape.yScale + 1 })
i = i + 1
end

– event listener
shape:addEventListener(“tap”, shapePressed)[/lua] [import]uid: 71210 topic_id: 19982 reply_id: 77944[/import]

Thanks man. It works. You saved me so much time. Thank you! [import]uid: 11559 topic_id: 19982 reply_id: 77948[/import]

:slight_smile: you are always welcome… [import]uid: 71210 topic_id: 19982 reply_id: 77949[/import]

@Renjith - awesome to come in here and see such great posts from you. I think it’s awesome you spend so much time helping the community :slight_smile:

Peach [import]uid: 52491 topic_id: 19982 reply_id: 77996[/import]

@peach - I was not able to follow the forum for few weeks, now am back in action. :slight_smile:
[import]uid: 71210 topic_id: 19982 reply_id: 78021[/import]

I hope that time was spent relaxing for the holidays.

I am happy to see you back :slight_smile: [import]uid: 52491 topic_id: 19982 reply_id: 78038[/import]

@peach… yea was shuttling between India and Singapore… :slight_smile: [import]uid: 71210 topic_id: 19982 reply_id: 78054[/import]

Nice - not the travel part, but the trip was, I’m sure :slight_smile: [import]uid: 52491 topic_id: 19982 reply_id: 78235[/import]