-
if/else expression
hi there,
i’m totally new into expressions. just thought that can’t be so tough but now i see it won’t work out like i thought.i’m trying to scale up a layer over time till 100% when this value is reached i want it to scale down to 0% and up again.. in a loop.
hope you guys can help me. =)
if (transform.scale < 100) transform.scale *0.5*time else if (transform.scale > 100) transform.scale *0.5*-time else transform.scale *0.5*time