Transform2D

Category: Executor Tier: Basic

Purpose

A unified executor for manipulating a 2D object’s position, rotation, and scale.

Visual Reference

As added to your scene
Transform2D brick as it appears in the GDLink editor

Runtime Behavior

Inputs

  • Activate (Boolean): Triggers the transform operation.

Properties

Core Configuration

  • operation (Enum, Animate)

  • Set: Instantly snaps to target values.

  • Animate: Smoothly tweens to target values over duration.

  • Ping-Pong: Tweens to target, then returns to start.

  • space (Enum, Local)

  • Local: Relative to parent.

  • Global: Relative to world space for Node2D targets.

  • duration (Float, 0.5): Time in seconds for Animate / Ping-Pong.

  • tween_trans (Enum, Linear): Transition type.

  • tween_ease (Enum, InOut): Easing direction.

Transform Channels

  • Location

  • enable_loc (Bool, false): Modify location.

  • loc_mode (Enum, Relative): Relative or Absolute.

  • loc_axes (Enum, All): All, X, or Y.

  • target_loc (Vector2): Target position.

  • Teleport mapping:

  • Teleport / Snap = operation = Set, enable_loc = true, loc_mode = Absolute

  • space = Local teleports relative to the parent transform

  • space = Global teleports in world space for Node2D targets

  • Rotation

  • enable_rot (Bool, false): Modify rotation.

  • rot_mode (Enum, Relative): Relative or Absolute.

  • target_rot (Float): Target rotation in degrees.

  • rot_continuous (Bool, false): Continuous degrees-per-second rotation in Relative mode.

  • Scale

  • enable_scale (Bool, false): Modify scale.

  • scale_mode (Enum, Absolute): Relative or Absolute.

  • scale_axes (Enum, All): All, X, or Y.

  • target_scale (Vector2): Target scale.

…

Generated UI Mockup — showing expanded properties
Transform2D
-
x
Name:
Label this brick...
Operation:
v
Space:
v
Duration:
v
Tween Trans:
v
Tween Ease:
v

Properties

This brick does not expose a generated property table yet. See the source specification for implementation notes.