Original Post
I am having trouble making my animations play all the way through in XNA and I am pretty sure that I could get it to work if I could send a boolean variable from my UserControlledSprite.cs class to my Sprite.cs class and then change it to false and send it back to UserControlledSprite.cs after all of the frames have played through. Is there a way to send that variable back and forth between two classes? UserControlledSprite.cs bool boolvar = true; | V Sprite.cs boolvar = true; play through all frames; boolvar = false; | V UserControlledSprite.cs boolvar = false; Any help would be greatly appreciated. Or if you know a better way to do this.