Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.
Source: addons/item_vault/scene_spawner/2d/move_on_spawn_2d.gd
Syntax
class SpawnMoveInitializer2D extends NodeMembers
| Name | Kind | Summary |
|---|---|---|
spawner | Property | Attaches a MoveOnSpawn component to scenes spawned by a SceneSpawner2D, enabling them to move in a direction for a set duration after instantiation. The spawner this script is attaching itself to the spawned signal for. When the spawner spawns a scene, this script will trigger by adding a MoveOnSpawn Node to the spawned scene. |
settings | Property | Settings that describe how a SpawnMoveInitializer2D should behave. |
spawner_node | Property | |
instance | Property | |
spawner_pos | Property | |
instance_pos | Property | |
move_direction | Property | |
move_on_spawn | Property | |
node_to_move | Property | A component that moves its parent node in a specified direction for a set duration. |
settings | Property | |
move_direction | Property | |
remove_on_stop | Property | |
moving | Property | |
time_since_launch | Property | |
start_pos | Property | |
time_progress | Property | |
current_sample | Property |
Source
addons/item_vault/scene_spawner/2d/move_on_spawn_2d.gd
Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides