Cannot connect Boolean block output to IF condition slot

Hello everyone,

I am facing a persistent issue in the Kodular Blocks editor and need help. I am trying to build conditional logic using an if block, but I cannot connect any block that produces a Boolean value (True/False) to the condition slot (the diamond shape) of the if block.

Problem:

When I try to drag the output (the round socket) of a Boolean block and connect it to the diamond condition slot of an if block, the connection does not work. The slot does not highlight, or the connection line simply detaches when I release the mouse button.

Specific Blocks I have tried to connect:

  • I need to check if a database tag starts with a specific prefix (e.g., “/barcodes/”).
  • I have tried using the starts with text piece block from the Text category. This block produces a Boolean output.
  • When starts with text piece failed to connect, I tried a workaround using the start at text piece block (which returns the starting position) combined with an equality comparison block (==). The logic is (start at text [tag] piece "/barcodes/") == 1. This also produces a Boolean output (the result of the == block).
  • I have also tried connecting simple Boolean blocks like Logic.True or 1 == 1 directly to the if condition slot, but they also do not connect.

Expected Behavior:

The output of a Boolean block should be connectable to the diamond condition slot of an if block. This is standard behavior for building conditional logic.

Steps Already Taken (Troubleshooting):

  • I have cleared my browser’s cache and cookies.
  • I have tried accessing the Kodular Creator using a different web browser (please specify which browsers, e.g., “from Chrome to Firefox”).
  • I have restarted my computer.
  • The issue persists across different blocks that produce a Boolean value and across different if blocks.

Screenshots:

[Here, insert your screenshots that demonstrate the issue. The screenshot text at.png showing the (start at text ...) == 1 block near the if block where the connection fails would be very helpful.]

This issue prevents me from building necessary conditional logic in my app’s blocks. Any help or suggestions on how to fix this connection problem or a workaround would be greatly appreciated.

Thank you!

See the documentation Text - Kodular Docs

Returns the character position where the first character of piece first appears in text, or 0 if not present. For example, the location of ana in havana banana is 4.

Also use Do it to debug your blocks
The = operation does not make much sense there…

Taifun