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 PRActionTypeDepthTo. When this action is played by an object, that object's depth variable will instantly change to the value given in depthTo.
PRActionDepthTo(depthTo)
The value that the object's depth variable will change to.
The created action object.