Appearance
Wiggle API / Group
Interface: Group
A container whose transform applies to all its children. Children are positioned in the group's own space (offsets from its origin), so the whole block moves and scales as a unit.
Properties
enter
readonlyenter:GroupMotion
Entrance motion applied to the whole group.
exit
readonlyexit:ExitMotion
Exit motion applied to the whole group.
Methods
add()
add<
T>(node):T
Type Parameters
T
T extends Node | Group
Parameters
node
T
Returns
T
at()
at(
time):Group
Set when this group's entrance begins, in seconds from scene start.
Parameters
time
Returns
Group
moveTo()
moveTo(
x,y,opts?):Group
Parameters
x
number
y
number
opts?
at?
duration?
ease?
Returns
Group
rotateTo()
rotateTo(
degrees,opts?):Group
Parameters
degrees
number
opts?
at?
duration?
ease?
Returns
Group
scaleTo()
scaleTo(
scale,opts?):Group
Parameters
scale
number
opts?
at?
duration?
ease?
Returns
Group
x()
x(
value):Group
Parameters
value
number
Returns
Group
y()
y(
value):Group
Parameters
value
number
Returns
Group