|Freeze||Freezes the block||None|
|Unfreeze||Unfreezes the block||None|
Every block has a frozen attribute.
Freeze is a general action. It sets the frozen attribute to true. The inverse action is Unfreeze. It sets the frozen attribute to false.
Freeze (and Unfreeze) can be used as conditions that check the current frozen/notFrozen state of the block. (That is, they can be placed before "Does".)
Frozen attribute[edit | edit source]
By default, all blocks are not frozen.
Properties of frozen blocks[edit | edit source]
- A frozen block (and the blocks connected to it) will not move or rotate, even if hit by another model.
- Frozen parts cannot be dragged.
- Once frozen, the block stays frozen until an Unfreeze action happens.
Action notes[edit | edit source]
As an action[edit | edit source]
Freeze freezes the block that holds the script.
Some blocks such as trees have a Freeze action in its script by default.
As a condition[edit | edit source]
Returns True if the block is frozen, False if not frozen.
Usage[edit | edit source]
Use Freeze on every model that doesn't need to move.
For a model comprising many blocks, a Freeze action in just one of the blocks is usually sufficient.
It is also useful to hold blocks still temporarily (when paired with Unfreeze).
Tips & Tricks[edit | edit source]
The Freeze action can be paired with Hide.