Docs
Dashboard
KyroScript

The block editor

Prefer not to type code? Switch the editor to Blocks. Blocks and code are two views of the same script: switch any time and nothing is lost, comments included. The bot only ever runs the code, so a script made with blocks works exactly like a typed one.

Adding blocks

  • The toolbox on the left has every built-in, sorted by category, plus your own variables and functions. Type in Find a block to search.
  • Drag a block into place, or click it to add it under the selected block. Click an empty “do” area first to add blocks inside it.
  • Values (text, numbers, true/false, maths) go into slots inside blocks. Drag one onto a slot, or click the slot and then the value.
  • Dropping an operator like and, not or + on a filled slot wraps what was there, so building a condition never loses your work.

Changing blocks

  • Type straight into text, number and name boxes. Click true/false to switch it. Use the small + buttons to add options like private or embed.
  • Hover a block (or select it) for its tools: move up and down, copy, edit as code, and delete. Drag the grip on the left to move it anywhere.
  • Anything unusual shows as a small code box you can edit, and edit as code opens any block as a few lines of code. Several lines become several blocks.
  • Ctrl+Z undoes, Ctrl+Shift+Z redoes, and Delete removes the selected block.

Problems are shown on the block they belong to, and clicking a problem, a test error or a run log line takes you to its block. Editing blocks tidies the code’s spacing.

✨ Tip On a phone, tap blocks to add them and use the move buttons instead of dragging.
Was this page helpful?