Calling a function when score hits 100?

Hey!!

I’m new to the games thing -

I’ve got a dynamic text box with the variable myScore

It’s counting up the numbers as I ‘score’.

How do I call a function when the score hits 100?

I’ve tried


if (myScore == 100){
///function do something///
}


And it doesn’t work -

I am keeping my score only in the text box -

Any help would be great.

:slight_smile: