well! finally i had time to try this. Sorry for the huge delay.
I still doesn't work. I've tried both methods suggested here.
First, I did this:
-when "PLAYER", is olverlapping the sprite "ZOOM1", set layerscale:
-layer 1
-scale:
clamp(LayoutScale-1, 0.6,LayoutScale)
This was the result: when the player stepped inside that sprite the scale went to 0,6, but did it instanctly, without a smooth zooming, and when the player got out of the zone it returned to the normal scale.
then I did the other one:
-when "PLAYER", is olverlapping the sprite "ZOOM1", set layerscale:
-layer 1
-scale:
lerp(layoutscale, 0.9, 1*dt)
It did the exact same result. the change was instant.
What am I doing wrong?