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

moveStack

moveStack(entity, stackMove): void

Moves the stack in slot from to slot to. Into an empty slot it moves whole; onto a stack it can merge with, it tops that stack up to the max and leaves the rest where it was; onto any other, the two swap. A slot the bag does not have moves nothing.

Parameter Type
entity Entity
stackMove StackMove

void