Skip to content
s
p
a
w
n
ı
t
e
s
p
a
w
n
ı
t
e
Search
Ctrl
K
Cancel
GitHub
Assets
Tools
Select keyboard type
macOS
Windows
Select theme
Dark
Light
Auto
Menu
Learn
Engine
Platform
API reference
2D
Abilities
AI
Animation
Bots
Camera
Character
Commands
Devtools
Entity
Errors
Game
Input
Internals
Leaderboard
Levels
Live state
Map
Matches
Materials
Npc
Particles
Parties
Physics
Player
Players
Plugins
Post-processing
Products
Rendering
Replication
Save
Settings
Shader
Sound
State
Stats
Teams
Testing
Text chat
UI
Voice chat
Weapons
World
Worlds
GitHub
Assets
Tools
Select keyboard type
macOS
Windows
Select theme
Dark
Light
Auto
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.
ScratchTraitOptions
What
trait
takes beside its schema.
Type Parameters
Section titled “Type Parameters”
Type Parameter
Field
extends
string
Properties
Section titled “Properties”
Property
Type
Description
entities?
readonly
Field
[]
The fields that hold an entity, or a list of them, which a destroy releases, as
defineTrait
’s
entities
names them: a field left out keeps a dead handle, which koota reads by index as whichever entity takes it next.