Button Scripting

I made this button, and inside of the button is a movieclip the moveclip animates/moves to a certain spot. I want to be able to let the button determine wether it has been pressed or not. So if I click the button it will gotoAndPlay a scene and continue on. If the button has not been pressed which needs to be scripted telling the button wether it has been pressed which it hasnt been pressed ir will gotoAndPlay a different scene. Sort of like a different outcome.