Event Blocks In Conditionals

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

The ability to put certain event blocks in conditionals

I’d use it for this type of project:

Any project with variables

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

For example, instead of:

When “My IPad” is tapped
Check once if “Clicks” >= “10”
Increase “clickPower” by “1”

We could have:

(When “My IPad” is tapped) and (“Clicks” >= “10”)
Increase “clickPower” by “1”

Here is an example design I’ve made:

I’ve seen something similar in another programming language, it looks like this:

N/A, hs could be the first to do this :0


Yeah, it would be cool… (this example design was done through modding)

Two things would need to happen for this to be possible:

  1. THT would need to make events return (0 or 1) instead of (true or false)
  2. THT would need to make a new special parameter type that includes all events and products (for those with the seed block).

Slight typo, I meant (false or true) (because false=0 and true=1, not the other way around, lol)…

Another way I could’ve fixed my typo was to say (1 or 0) in the first half…


I’ve been wanting that for sooo long!
It would definitely help make coding certain things quicker, and run in less frames. (If I’m thinking of it correctly.)
And it would allow you to code stuff you wouldn’t normally be able to do.