Create Object: Difference between revisions
(Updated and revisited the page) |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
}} | }} | ||
Creates a copy of the input object. | Creates a copy of the input [[object]]. | ||
Does not copy the scripts inside a block, only the ''shell'' of the block. | Does not copy the scripts inside a block, only the ''shell'' of the block. | ||
Line 16: | Line 16: | ||
* If the input is None, the output will be the last object created by this script (But not a copy of said object!). | * If the input is None, the output will be the last object created by this script (But not a copy of said object!). | ||
* There is a limit of 4096 objects. Attempting to create more objects when the limit has been reached will display a "Too many objects" error: | |||
: [[File:Error Too many objects.png|frameless|center]] | |||
* Creating objects has a large effect on performance, try to reuse already created objects when possible. | |||
== Related == | |||
* [[Destroy Object]] | |||
[[Category:Blocks]] | [[Category:Blocks]] |
Latest revision as of 01:37, 23 August 2025
Create Object
Type | Script block |
Collider | None |
Folder | Objects |
Ports | |
---|---|
Inputs | Before Original |
Outputs | Copy After |
Creates a copy of the input object.
Does not copy the scripts inside a block, only the shell of the block.
Notes
- If the input is None, the output will be the last object created by this script (But not a copy of said object!).
- There is a limit of 4096 objects. Attempting to create more objects when the limit has been reached will display a "Too many objects" error:
- Creating objects has a large effect on performance, try to reuse already created objects when possible.