API Reference › World › World.register_prop
method

World.register_prop

World.register_prop(name, size) -> int

Declares a brand-new component named name holding size integer fields and returns its id — a component the game's source never wrote, for mods.

← All symbols