Note: This PRAction documentation is out-dated and is for an older (pre-GMS v2.3) version of PRAction. For the most up-to-date docs on the latest version of PRAction, please refer to this page as well as the documentation included in the PRAction package.
Creates an action object of type PRActionTypeBlendBy. When this action is played by an object, that object's image_blend variable will animate from its current value by the amount given in blendBy using the easing equation identified by easeId over a duration of durationSecs seconds.
Please note that by default, this action will not let the red, green and blue components of the color being animated to go below 0 or above 255. If, for some reason, this behaviour is desired, set this action's data2 property to false using the PRActionSetData2 function.
As this is a relative animation, it is possible to alter the object's animating variable in mid-process. The object will adapt to whatever new value is set at each frame (step) update.
PRActionBlendBy(blendBy, easeId, durationSecs)
The relative amount that the object's image_blend variable will be changed by the end of the animation.
The ease ID identifying the easing equation to use when animating the object's variable.
The total length of time (in seconds) that the animation will take before completing. Specifying 0 here will result in an instant change to the final value in 1 frame (step).
The created action object.