Thanks, from what I see in that post they suggest compare frame. I was looking at that but it seems a bit weak.
For instance, if I change the length of my animation, then I would need to change the event as well.
I was more looking for something like sending a signal from the animation at a certain frame.
If I could use a signal from the animation I would only need to select a new frame in the animation timeline and emit the signal from there. The "code" would still just listen for a signal, I would not need to change an if-statement.
I guess what I'm looking for is not available.