Script Block: Difference between revisions

From Fancade Wiki
m (Import image)
m (Adapt old wiki page 'How many custom blocks can I nest inside each other?')
Line 10: Line 10:


[[File:Script Block button.png|thumb|none|The option to open the block. This is where to generally compact scripts in a singular location.]]
[[File:Script Block button.png|thumb|none|The option to open the block. This is where to generally compact scripts in a singular location.]]
A maximum of four custom blocks containing scripts can be nested inside. The "Too many blocks inside blocks!" error displays if more than four is nested.


[[Category:Blocks]]
[[Category:Blocks]]

Revision as of 15:36, 8 July 2024

Script Block
Script_Block.png
TypeScript block
ColliderNone
FolderTemplates

A script block block that is only visible on editor (unless only script blocks are in the level), it cannot be used as an object and doesn't have a Collider.

Script blocks can be filled with blocks by tapping on the option beside the pencil icon. Moreover, it could be done with every editable custom block:

The option to open the block. This is where to generally compact scripts in a singular location.

A maximum of four custom blocks containing scripts can be nested inside. The "Too many blocks inside blocks!" error displays if more than four is nested.