Create Object: Difference between revisions
|  (Updated and revisited the page) | -u ndefined- (talk | contribs)  m (Add related section and image) | ||
| 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]] | ||
Revision as of 13:42, 29 July 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.
 
	