Ok, I know there are other questions like this on stack overflow, but this isn’t the same.
I have this thing that I made with jQuery, and it’s basically a stickman that walks around. So far, there’s two states for the stickman. Sitting, and standing. I want to know how I could check if it’s the standing picture is visible or hidden, so I can disable the movement when the standing picture is hidden. Here’s the thing so you know what i’m talking about:
http://jsbin.com/okazof
Here’s the code source:
http://jsbin.com/okazof/1/edit
1 Answer