Custom hat not triggering when condition met

So I made this tiny new custom hat blocks test:

untitled script pic

Except it doesn't work in the way that I would except. When I drag a script that starts with my hat, the green flag button turns on but even clearly after 2 secs the script under the hat wouldn't trigger. Even when I click the flag, nothing still happens.

Check the condition checkbox, see if that helps.

It works, but just in case, what's the default behaviour?

The default behaviour is that if the hat is true, it will not trigger again until it becomes false then true again.

So like

// this is fake code to illustrate my thoughts :P
forever {
wait until [hat]
run [hat] $verticalEllipsis@addInput
wait until <not [hat]>

?

Yes.

That clears it all up.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.