
- Introduction
- Buy Now
- Download PDF
- Changelog
- Getting Started
- Reference Guide
- Debug Functions
- Macros & Keywords
- Animations
- Effects
- Shaders
- Engine Functions
- sys_config
- sys_action_init
- sys_action_skip
- sys_action_term
- sys_anim_init
- sys_anim_perform
- sys_anim_term
- sys_anim_speech
- sys_cmd_init
- sys_cmd_add
- sys_cmd_perform
- sys_cmd_draw
- sys_toggle_cmd
- sys_deform_init
- sys_deform_perform
- sys_deform_draw
- sys_deform_term
- sys_effect_init
- sys_effect_perform
- sys_effect_term
- sys_event_skip
- sys_read_skip
- sys_grid_delete
- sys_grid_last
- sys_layer_set_target
- sys_layer_draw_scene
- sys_layer_draw_char
- sys_layer_draw_emote
- sys_layer_draw_perspective
- sys_layer_draw_effect
- sys_layer_draw_textbox
- sys_layer_draw_text
- sys_layer_draw_label
- sys_layer_draw_prompt
- sys_layer_draw_button
- sys_layer_draw_option
- sys_layer_reset_target
- sys_layer_log_set_target
- sys_layer_draw_log
- sys_layer_draw_log_button
- sys_layer_log_reset_target
- sys_log_init
- sys_log_perform
- sys_log_get_style
- sys_log_get_xoffset
- sys_mouse_hover
- sys_option_init
- sys_orig_init
- sys_queue_enqueue
- sys_queue_submit
- sys_queue_destroy
- sys_queue_empty
- sys_scale_init
- sys_shader_init
- sys_shader_perform
- sys_shader_set_sampler
- sys_text_init
- sys_text_perform
- sys_text_get_label
- sys_text_get_xoffset
- sys_text_style_init
- sys_trans_init
- sys_trans_perform
- sys_vox_add
- Global Functions
- array_create_2d
- interp
- is_even
- is_odd
- make_color_hex_to_rgb
- make_color_rgb_to_hex
- mouse_region
- mouse_region_gui
- shader_exists
- vngen_continue
- vngen_count
- vngen_exists
- vngen_goto
- vngen_goto_unread
- vngen_instance_change
- vngen_room_goto
- vngen_set_cursor
- vngen_set_halign
- vngen_set_lineheight
- vngen_set_speed
- vngen_set_vol_music
- vngen_set_vol_sound
- vngen_set_vol_voice
- vngen_set_vol_vox
- vngen_set_renderlevel
- vngen_set_scale
- vngen_set_shader_float
- vngen_set_shader_matrix
- vngen_set_shader_sampler
- vngen_toggle_auto
- vngen_toggle_pause
- vngen_toggle_visible
- File Functions
- Language Functions
- Property Functions
- Backlog Functions
- Object Functions
- Events
- Actions
- Perspective Actions
- Scene Actions
- vngen_scene_create
- vngen_scene_create_ext
- vngen_scene_modify_style
- vngen_scene_modify_pos
- vngen_scene_modify_ext
- vngen_scene_modify_direct
- vngen_scene_replace
- vngen_scene_replace_ext
- vngen_scene_destroy
- vngen_scene_anim_start
- vngen_scene_anim_stop
- vngen_scene_deform_start
- vngen_scene_deform_stop
- vngen_scene_shader_start
- vngen_scene_shader_stop
- Character Actions
- vngen_char_create
- vngen_char_create_ext
- vngen_char_modify_style
- vngen_char_modify_pos
- vngen_char_modify_ext
- vngen_char_modify_direct
- vngen_char_replace
- vngen_char_replace_ext
- vngen_char_destroy
- vngen_char_anim_start
- vngen_char_anim_stop
- vngen_char_deform_start
- vngen_char_deform_stop
- vngen_char_shader_start
- vngen_char_shader_stop
- Character Attachment Actions
- vngen_attach_create
- vngen_attach_create_ext
- vngen_attach_modify_style
- vngen_attach_modify_pos
- vngen_attach_modify_ext
- vngen_attach_modify_direct
- vngen_attach_replace
- vngen_attach_replace_ext
- vngen_attach_destroy
- vngen_attach_anim_start
- vngen_attach_anim_stop
- vngen_attach_deform_start
- vngen_attach_deform_stop
- vngen_attach_shader_start
- vngen_attach_shader_stop
- Emote Actions
- Effect Actions
- Textbox Actions
- vngen_textbox_create
- vngen_textbox_create_ext
- vngen_textbox_modify_style
- vngen_textbox_modify_pos
- vngen_textbox_modify_ext
- vngen_textbox_modify_direct
- vngen_textbox_replace
- vngen_textbox_replace_ext
- vngen_textbox_destroy
- vngen_textbox_anim_start
- vngen_textbox_anim_stop
- vngen_textbox_deform_start
- vngen_textbox_deform_stop
- vngen_textbox_shader_start
- vngen_textbox_shader_stop
- Text Actions
- Inline Markup
- vngen_text_create
- vngen_text_create_ext
- vngen_text_modify_style
- vngen_text_modify_pos
- vngen_text_modify_ext
- vngen_text_modify_direct
- vngen_text_replace
- vngen_text_replace_ext
- vngen_text_destroy
- vngen_text_anim_start
- vngen_text_anim_stop
- vngen_text_deform_start
- vngen_text_deform_stop
- vngen_text_shader_start
- vngen_text_shader_stop
- Label Actions
- vngen_label_create
- vngen_label_create_ext
- vngen_label_modify_style
- vngen_label_modify_pos
- vngen_label_modify_ext
- vngen_label_modify_direct
- vngen_label_replace
- vngen_label_replace_ext
- vngen_label_destroy
- vngen_label_anim_start
- vngen_label_anim_stop
- vngen_label_deform_start
- vngen_label_deform_stop
- vngen_label_shader_start
- vngen_label_shader_stop
- Prompt Actions
- vngen_prompt_create
- vngen_prompt_create_ext
- vngen_prompt_modify_style
- vngen_prompt_modify_pos
- vngen_prompt_modify_ext
- vngen_prompt_modify_direct
- vngen_prompt_replace
- vngen_prompt_replace_ext
- vngen_prompt_destroy
- vngen_prompt_anim_start
- vngen_prompt_anim_stop
- vngen_prompt_deform_start
- vngen_prompt_deform_stop
- vngen_prompt_shader_start
- vngen_prompt_shader_stop
- Button Actions
- Option Actions
- Audio Actions
- Code Actions
- Special Thanks
- End-User License Agreement ("EULA")
6.7.32.The "vngen_toggle_visible" Function #
Syntax:
vngen_toggle_visible([sound]);
Argument | Type | Description |
[sound] | sound | Optional: A sound to be played when the script is run |
Description:
Hides text elements if visible, or unhides them if invisible. This includes textboxes, text, labels, prompts, and options, allowing the user to appreciate scene and character art free of obstruction. If text elements are hidden when vngen_continue is run, they will be unhidden automatically.
Recommended for use in mouse, keyboard, or gamepad input events.
Example: vngen_toggle_visible(snd_input);
Last updated on February 13, 2019