Custom transform on event statement?
Posted: Sat Nov 09, 2019 8:15 pm
Good evening!
So to put it short, there are transform conditions like "on show", "on hide", etc.
I was wondering, is it possible to create your own condition somehow? I need to transform an element, but only if a certain variable is toggled. Ideally, i'd have to be something like:
But obviously, this can't work, so i guess there should be a way to define a custom condition here, like you do with user-defined actions i suppose. How do i properly do that? I read the cookbook page about atl transforms, but i couldn't find any real examples of implementing your own conditions.
Thank you in advance!
So to put it short, there are transform conditions like "on show", "on hide", etc.
I was wondering, is it possible to create your own condition somehow? I need to transform an element, but only if a certain variable is toggled. Ideally, i'd have to be something like:
Code: Select all
transform test1:
on show:
...
on hide:
...
if variable == "off":
...
if variable == "on":
...Thank you in advance!