{ "type": "Container", "visible": "@slot.isMenuAudioVisible", "x": { "dynamic": true, "default": -780, "Mobile,Landscape": "@iface.stepFunction.-780,-810,1.78", "Portrait": "@iface.stepFunction.@view.x.l.125,@view.x.l.125,0.55" }, "y": { "dynamic": true, "default": "@view.y.b.-105", "Mobile,Landscape": "@view.y.b.-210", "Portrait": "@view.y.b.-640" }, "scale": { "dynamic": true, "default": 0.7, "Mobile,Landscape": 0.9, "Portrait": "@iface.stepFunction.1.75,1.4,0.55" }, "children": [ { "type": "Container", "visible": "@iface.getVisibleConfigParameter.disableMenuAudio", "children": [{ "type": "ToggleButton", "scale": 1, "id": "optionGameSounds", "atlas": "all_ui_buttons_new.json", "canReleaseOutside": true, "dontInteractOutside": true, "textures": ["volume_off.png", "volume_off_hover.png", "volume_on.png", "volume_on_hover.png", "volume_off_pressed.png"], "anchorAlign": "c", "onToggle": "onGameSoundsToggle", "onToggleOn": "", "onToggleOff": "", "onPressSound": "FXButtonClick1" }] }] }