Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

splitStack

splitStack(entity, stackSplit): void

Moves count copies of the stack in slot from into slot to, with the same data. Only into an empty slot, and no more than the stack holds; otherwise nothing moves.

Parameter Type
entity Entity
stackSplit StackSplit

void