More newbie question, please help.I have a pause button, and I'd like to trigger it only when the state is on. Here's my code. What did I do wrong?
if pause.states.current.name is "on"
I tried this but the video still doesn't pause. :S Anything else I'm missing?