Status bar help

You can look at my code here:

please comment below to help me because I don’t understand


The statusbar is a special kind of sprite that contains a value, so the error is trying to say that you can’t compare a sprite with a number. The little triangle has a message if you click on it:

To get the number out, you need to use the statusbar value block:


Here’s your code with the changed as an example:

1 Like


1 Like