BIRD In this tutorial you learn to program a special stitch to fill the areas in your design!


1. Write this script in the object, in which you want to use it.

If you use the Tatami Fill-Stitch several times in your project, you have to program the line and the pattern in !every! object you use it in. A tip would be to use the backpack function.

Make sure that you always choose a new name for the broadcast, otherwise there will be problems.

Good to know:

If you are up to do more than one tutorial card, make sure to create new variables “for this actor, object, or one of its clones only”, otherwise variables with the same name could lead to problems.

create variables

Random number:

So that the stitch does not become too periodically, you can vary the stitch length between a certain maximum and minimum value.


2. Now start and insert the bricks step by step into your script.

Bird Tatami Code 1

You have to set the variable “width in mm” when using the stitch.


At this point you set the variables “parts”, “random max” und “random min” to the values you set in the tutorial “Lists”. Therefore it is important to do this tutorial first. You can find it here.




You can access an element of a list in the formula editor at  “functions”:



3. Now start and insert the bricks step by step into your script.

Bird Tatami Code 2


There are many similar formulas in this tutorial, you should stick to the tutorial here. Maybe you missed something?

5. Check the bricks, if it still doesn’t work.

Here you get to the previous tutorial. 

Here you get to the next tutorial.