Hello,
I want to share the code for the animation.
Create a vibrational motion of a layer or hotspot.
Code
<action name="wobble" scope="local" args="attribute, min, max, time">
set(local.vverh, false);
calc(cal,'caller.' + attribute);
setinterval(calc('merc_' + caller.name), get(time),
if(vverh,tween(get(cal),get(max),get(time)); set(vverh,false);
,
tween(get(cal),get(min),get(time)); set(vverh,true);
);
);
</action>
start the action, for example, changing the scale from 0.5 to 1 in 1 second