% math

Ok…

I have a game where in an ideal situation the players needs to press 12 times in the correct sequence to win.

However they are more likely to click incorrectly.

How can I do a percentage to indicate how well they have clicked?

does this look right?

(100-(_root.clickcount/12))