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.

Documentation Topics
Function

PRActionQBreathe()

Creates a compound action that, when played by an object, will make it seem like the object is "breathing" by altering the X/Y scaling over time.


Declaration

PRActionQBreathe(sizeBy, repeatCount, easeId, durationPerBreathSecs, delaySecs)

Parameters

sizeBy

The relative scaling that occurs for each breath.

repeatCount

The number of breaths to take. Specify a negative number here for infinite breathing.

easeId

The ease id indicating which easing function to use for this animation.

durationPerBreathSecs

The time, in seconds, that it takes for each breath to occur.

delaySecs

The time, in seconds, that it waits in between each breath.

Return Value

The created action object.