Create Object: Difference between revisions

From Fancade Wiki
(Updated and revisited the page)
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.


* 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.
== Related ==
 
* Creating objects has a large effect on performance, try to reuse already created objects when possible.


* [[Destroy Object]]


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

Latest revision as of 13:42, 29 July 2025

Create Object
Create Object.png
TypeScript block
ColliderNone
FolderObjects
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:
File:Error Too many objects.png
  • Creating objects has a large effect on performance, try to reuse already created objects when possible.

Related