LiminaliaLiminalia

@anim

Animate the position, size, opacity and text color of something chosen by name or layer. @wait-anim can wait for it to finish

Parameters

name
Text
Name of the target to animate (a character ID, or the name of an @image or @layer-text). Write either this or layer
layer
fg0 / fg1 / fg2
Layer to animate (everything on it; fg0 includes sprites). Write either this or name
left
Number
Left edge (px)
top
Number
Top edge (px)
width
Number
Width (px)
height
Number
Height (px)
left-by
Number
Change the left edge by this much from its current value (px)
top-by
Number
Change the top edge by this much from its current value (px)
width-by
Number
Change the width by this much from its current value (px)
height-by
Number
Change the height by this much from its current value (px)
opacity
Integer
Opacity (0 to 255)
color
Color (#rrggbb)
Text color (text placed by @layer-text)
time
Time (300ms, 1.5s)
Default: 2s
Time the animation takes
ease
Text (such as swing / linear / easeInSine / easeOutSine / easeInOutSine / easeInQuad / easeOutQuad / easeInOutQuad / easeInCubic / easeOutCubic / easeInOutCubic / easeInQuart / easeOutQuart / easeInOutQuart / easeInExpo / easeOutExpo / easeInOutExpo / easeInBack / easeOutBack / easeInOutBack)
Default: swing
Easing (a jQuery easing name)
wait
true / false
Default: false
Wait until the animation finishes before continuing
skip
true / false
Default: true
Lets a click, the Enter key or a tap finish the effect at once. false prevents it (while skipping, it ends at once anyway)

Guides that use this command

From TyranoScript

When you import with lim import, these tags become this command:

  • [anim]

How each attribute converts, and what isn't converted, is in TyranoScript import.