Thank you for the sound explanation.
The GetPressedKeyCount() gives me an error code that it is not part of the method.
I looked in the documentation and noticed it is Version 3.8.0 from the Monogame framework:
I currently run on 3.7.0 with Visual studio 2019, since 3.7.1 gave me some issues with both visual studio 2019 and 17.
For now I have a workaround which is working as well.
Thanks for the tips on finite state machines, I’ll do some reading up. For now I have that solution, I just had a very crude way in programming it, I looked into my code and made some slight changes so that I can alter the position of the drawing box of the animation and accessing different parts of my sprite. I can now make a single instance of an animation and easily alter the integer and go through a different animation cycle.