Modifiers
Last updated
Last updated
Modifiers let you change the characteristics of your effects individually, and can be used in all effects categories.
āModifiersā multiply the relative value; this way you can easily know how much stronger/weaker a modified effect will result compared to the base one (for this reason, a modifier of ā1ā will return the same result of a base value).
All Modifiers are structured like this: <effectID modifierID=modifierValue>
and you can also use multiple of them separated by a space (eg. <wiggle a=2 f=4>
).
You can read a list of all the available modifiers for each effect: Built-in effects list
Example for Appearances effects: {fade d=3}
.
Example for Disappearance effects: {#fade d=2}
.
Some extra notes:
You can use modifiers when declaring ādefault/fallbackā effects as well (simply write them in the Inspector directly).
If you write identical attributes in the same rich text tag, only the last one will take effect.
Example: "<wiggle f=1 a=2 a=3>
" is the same as writing "<wiggle f=1 a=3>"
, as the first "a" attribute gets overwritten by the last.
Be sure to remove spaces between the modifierID, the ā=ā symbol and its value
ā Wrong: <wiggle f = 3>
ā
Correct: <wiggle f=3>