Aego Русский

Property paths

A tween names its property by a path, resolved once when the tween starts.

Path Property
SpriteRenderer.Tint a component field; the short component name works when it is unique, otherwise write render2d.SpriteRenderer.Tint
SpriteRenderer.Tint.a one lane of a vector or color: x y z w or r g b a
transform.position, transform.rotation, transform.scale the local transform, 2D or 3D
script/Player.Speed, script/mygame.player.Player.Speed an exported or private field of a script on the node

Field names are accepted as in the schema (tint) or with an upper-case first letter (Tint). Values that tween: float and int (rounded), Vec2, Vec3, Color, Rect, Quat (shortest arc). Strings, enums, references, read-only fields and lists do not. A wrong path or a value of the wrong type stops the calling script with AES6010 and returns nil.

Tweening the transform of a dynamic physics body is a teleport at the next physics step; move bodies with velocity instead.