Hi Mayki07,
in this way
local secondAnimationConfig = {
property = ...,
start = ...,
end = ...,
time = ...,
tween = ...,
...
}
local firstAnimationConfig = {
when = When.StartLayout,
property = ...,
start = ...,
end = ...,
time = ...,
tween = ...,
...
onStop = function( anim ) {
animation.add( PropertyAnimation ( targetObject02, secondAnimationConfig ) );
}
}
animation.add( PropertyAnimation ( targetObject01, firstAnimationConfig ) );
Note: second animation is configured without "when" attribute