Move Sprite
Jump to navigation
Jump to search
Move Sprite | |
---|---|
Tab | Decorations |
Type | Move |
Origin | rVersion |
Shortcut | O |
Move Sprite is an event in the Decorations tab used to change a decoration's position, scale, angle, and pivot.
Usage
Setting | Type | Description |
---|---|---|
Position | Text Boxes (Numbers) | Position X and Y of the decoration. |
Scale | Text Boxes (Numbers) | Scale X and Y of the decoration. |
Angle | Text Box (Number) | Angle of the decoration in degrees. |
Pivot | Text Boxes (Numbers) | Pivot X and Y of the decoration relative to its bottom-left corner at 0 rotation. |
Animation Duration | Text Box (Number) | Duration of the transition in beats. |
Ease | Dropdown (Enum) | Easing. |
Surgery
{ "bar": X, "beat": X, "type": "Move", "target": "abcdefg", "position": [50, 50], "scale": [1, 1], "angle": 0, "pivot": [50, 50], "duration": 1, "ease": "Linear" }
target (string)
ID of the decoration to apply to.
position (number[])
Position, X and Y (2-length array), of the decoration in percentage.
scale (number[])
Scale, X and Y (2-length array), of the decoration in percentage.
angle (number)
Angle of the decoration in degrees.
pivot (number[])
Pivot, X and Y (2-length array), of the decoration in percentage.
duration (number)
Duration of the transition in beats.
ease (enum)
Easing.