LiminaliaLiminalia

@filter

Apply a CSS filter to a layer (replacing the previous filter). It stays until @filter-off clears it

layer

Parameters

layer
all / base / fg0 / fg1 / fg2
Default: all
Layer to apply it to (all applies it to base and to each of fg0 to fg2)
grayscale
Number
Grayscale (%)
sepia
Number
Sepia (%)
saturate
Number
Saturation (%)
hue
Number
Hue rotation (degrees)
invert
Number
Color inversion (%)
opacity
Number
Opacity (%)
brightness
Number
Brightness (%)
contrast
Number
Contrast (%)
blur
Number
Blur (px)
mask
Text
Area to apply it to ("radial x y width height" or "radial x y width height soft": x and y are the center of the ellipse, width and height its size, and soft blurs the edge, all in px. radial-out applies it outside the ellipse). Everything if omitted. With an area, it applies inside the area to the background for base, the background and sprites for fg0, and everything up to the foreground for fg1, fg2 and all
time
Time (300ms, 1.5s)
Default: 0ms
Time to move from the previous filter
wait
true / false
Default: false
Wait until the change 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)

From TyranoScript

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

  • [filter]
  • [tb_filter_grayscale]
  • [tb_filter_sepia]
  • [tb_filter_invert]
  • [tb_filter_opacity]
  • [tb_filter_blur]

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