new b5.A_TweenProps(target, properties, start, end, duration, ease){b5.A_TweenProps}
actions/generic/general.js, line 122
Action that tweens the specified property values over time then exits
Created actions should be added to an actor or scenes actions list to be processed
For a complete overview of Actions see Booty5 Actions Overview
Name | Type | Description |
---|---|---|
target |
string | object |
Path to or instance of target object to change properties of |
properties |
Array.<string> |
Array of property names to tween (e.g. ["x", "y"]) |
start |
Array.<number> |
Array of start values |
end |
Array.<number> |
Array of end values |
duration |
number |
Amount of time to tween over in seconds |
ease |
Array.<number> |
Array of easing functions to apply to tweens (see b5.Ease) |
Returns:
Type | Description |
---|---|
b5.A_TweenProps | The created action |