Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Nice, I am glad you got it working 😁

Hello, me again! Is it possible to hide /unhide a picture with a variable as well? 

Hi, you can use the script call to show:

const varId = 1;
$cgmz.getPictureGalleryPic($gameVariables.value(varId)).show();

or hide:

const varId = 1;
$cgmz.getPictureGalleryPic($gameVariables.value(varId)).hide();

Amazing! Thanks again!