Any idea as to why the timeline can’t be used in a function? I understand that I can circumvent this particular problem, but it would be helpful to me to understand what the rules are governing what can and can’t be present in a function.
edit: It looks like a custom event fills the role I’m looking for. Thanks for your help.