Skip to content
ct

Class

SpawnMoveInitializer2D

Generated GDScript class reference for ItemVault.SpawnMoveInitializer2D.

Status
Current
Version
v1.0
Updated
2026-07-31

Attaches a MoveOnSpawn component to scenes spawned by a SceneSpawner2D, enabling them to move in a direction for a set duration after instantiation.

Source: addons/item_vault/scene_spawner/2d/move_on_spawn_2d.gd

Syntax

class SpawnMoveInitializer2D extends Node

Members

NameKindSummary
spawnerPropertyThe spawner this script attaches itself to the spawned signal for. When the spawner spawns a scene, this script triggers by adding a MoveOnSpawn Node to the spawned scene.
settingsPropertySettings that describe how a SpawnMoveInitializer2D should behave.