- Home /
IsPlaying vs isplaying
What is the difference between these 2 arguments? Just a simple question.
Unless you show us the code, the only difference I can tell is that the other is Capitalized and the other one isn't.
Answer by Eric5h5 · Jul 29, 2013 at 11:02 PM
The first is a function and the second is a variable. The docs describe what they do; is there anything in particular that you don't understand?
Thanks Eric, yes, I dont understand what does each do for example. Thanks for the info.
You should've said they were from the Animation class in your question.
isPlaying doesn't do anything, it's a boolean variable stored in the computer's memory. You can read the variable to deter$$anonymous$$e if any animation is playing, as per the docs.
IsPlaying checks if the animation you specify as the parameter is playing and returns true or false depending on the result, as per the docs.
Did you read the docs? Not sure what else I could say that the docs don't. Look at the code examples too if it's still not clear. Edit: ooh, simul-post!