No, you haven’t, because I don’t think you quite understand how finite state machines work. Here’s an tutorial on it, though keep in mind this was written a much older version of GDevelop, but the concepts are the same.
And here’s another link to a post explaining finite state machines
So, what you want to be doing is something like the screen snip below. This is not exactly what you should be doing, but just an example to give you the general idea
And you need to ‘walk’ through your code to understand what it’s doing. For example, the first event you check if the state is “Move to ball” and then you set the state to “Move to ball” That’s never going to work unless you set the state to “Move to ball” elsewhere. Don’t just blindly put things in without considering what it’s doing.