@anim
Animate the position, size, opacity and text color of something chosen by name or layer. @wait-anim can wait for it to finish
- Standard plugin
- Can be written without the name
name
Parameters
nameText
Name of the target to animate (a character ID, or the name of an @image or @layer-text). Write either this or layer
layerfg0 / fg1 / fg2
Layer to animate (everything on it; fg0 includes sprites). Write either this or name
leftNumber
Left edge (px)
topNumber
Top edge (px)
widthNumber
Width (px)
heightNumber
Height (px)
left-byNumber
Change the left edge by this much from its current value (px)
top-byNumber
Change the top edge by this much from its current value (px)
width-byNumber
Change the width by this much from its current value (px)
height-byNumber
Change the height by this much from its current value (px)
opacityInteger
Opacity (0 to 255)
colorColor (#rrggbb)
Text color (text placed by @layer-text)
timeTime (300ms, 1.5s)
Default: 2sTime the animation takes
easeText (such as swing / linear / easeInSine / easeOutSine / easeInOutSine / easeInQuad / easeOutQuad / easeInOutQuad / easeInCubic / easeOutCubic / easeInOutCubic / easeInQuart / easeOutQuart / easeInOutQuart / easeInExpo / easeOutExpo / easeInOutExpo / easeInBack / easeOutBack / easeInOutBack)
Default: swingEasing (a jQuery easing name)
waittrue / false
Default: falseWait until the animation finishes before continuing
skiptrue / false
Default: trueLets 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:
How each attribute converts, and what isn't converted, is in TyranoScript import.