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

PRActionQHeartbeat()

Creates a compound action that, when played by an object, will make it seem like the object is pulsating like a heartbeat by playing with the object's scaling.


Declaration

PRActionQHeartbeat(sizeBy, repeatCount, easeId, durationPerBeatSecs, delaySecs)

Parameters

sizeBy

The relative scaling that occurs for each heartbeat.

repeatCount

The number of heartbeats to do. Specify a negative number here for infinite heartbeats.

easeId

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

durationPerBeatSecs

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

delaySecs

The time, in seconds, that it waits in between heartbeats.

Return Value

The created action object.