Hello,
Probably a stupid question and easy solution, so sorry for the question.
I’m using the new Pinch Zoom XL that let us scale and object.
On the lua file that require the pinch zoom XL code, before saving the value into a database, I try to assign to a variable the object.xScale value, but i can’t get the new one.
Something like this:
local a=require("scale")
...
local posx\_img,posy\_img=img:localToContent(0,0) --Works fine and returns the x,y position, even moving the image img
local sc=img.xScale --Returns allways 1 even scaling the image img
....
img:addEventListener("touch",a.scale)
.....
I appreciate any help.
Thanks in advance! [import]uid: 44013 topic_id: 11861 reply_id: 311861[/import]