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 PRActionTypeChangeLayer. When this action is played by an object, that object’s layer variable will instantly change to the layer identified with the name layerName. If that layer isn't found when this action is run, nothing will happen.
PRActionChangeLayer(layerName)
The name of the layer that the object will move to.
The created action object.