Skip to content

Hide Picture

Hide Picture

Removes a displayed picture from screen by its ID.

Properties

System

Name Explanation Type
ID The ID of the picture to use. Variable or Value

Examples

Hide a Picture by Literal Identifier

This removes the picture with ID 1 from the screen.

hide_picture(1);
{"Data":{"ID":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.Picture.HidePictureCommand"}

Hide a Picture Using a Variable Reference

This removes the picture whose ID is stored in global variable 0.

hide_picture($gv[0]);
{"Data":{"ID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.Picture.HidePictureCommand"}