I'm using a setTimeout() function to temporarily disable clicks while an animation finishes playing.
But it feels like a bit of a hack, and I wondered if there was an event that triggers at the end of an animation that I could use instead?
You can add the call-back code at the end of the animation by first dragging the playhead(marked in green as hown in screenshot) to the end of animation in the Timeline Panel in Edge Animate, and then click the "Insert Trigger"(marked in red as hown in screenshot) button to add the code there.
Oh! I think I was having a senior moment, and wasn't thinking to use the timeline. Thank you for your help!!