Skip to content

Remove Projection

Remove Projection

Removes an active projection from the current scene by its unique ID.

Properties

System

Name Explanation Type
Projection Unique ID The unique ID of the projection to remove from the scene. Variable or Value

Examples

Remove a Projection by Variable

Removes the projection whose unique ID is stored in global variable 0.

remove_projection($gv[0]);
{"Data":{"Target":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Projection.ProjectionRemoveProjectionCommand"}

Remove a Projection by String Literal

Removes the projection with the specified unique ID string.

remove_projection("550e8400-e29b-41d4-a716-446655440000");
{"Data":{"Target":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"550e8400-e29b-41d4-a716-446655440000","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Projection.ProjectionRemoveProjectionCommand"}