Not conditional

A feature I’d like to see in Hopscotch is:

A conditional block which gives the opposite of the block inside of it.

I’d use it for this type of project:

Projects where I want to check if something does not match something

Here are some examples of Hopscotch code that could be improved if we had this:

Checking if something doesn’t match something, quicker to make code to point towards something


This would be super useful!


One word: Genius.

But it is Petrichor we’re talking about, so no surprise there.


I was thinking of that an hour ago lol

then I realized you could do the opposite [eg instead of when x < 500 then x > 500]

but idk if that’d work, I’d like to see this

1 Like

Great idea!

1 Like

Don’t forget the condition of =

Not > is <=
Not < is >=


nice idea.

I want this! After I started using not conditionals in Python, I have wanted this in Hopscotch!

1 Like

As per usual petrichor is openly pitching all his hs ideas on the forum where all the other kids coding languages spy… @Scratch, @Tynker. I know u secretly are reading this

1 Like

Nah, Scratch really isn’t a competitor.

1 Like

Does hs copy scratch?

1 Like

I mean, I think it’s based off it to some extent, but hopscotch is on a completely different platform, so

Hopscotch definitely copies scratch (jk)

1 Like