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

PRActionDepthTo()

Creates an action object of type PRActionTypeDepthTo. When this action is played by an object, that object's depth variable will instantly change to the value given in depthTo.


Declaration

PRActionDepthTo(depthTo)

Parameters

depthBy

The value that the object's depth variable will change to.

Return Value

The created action object.