view_visible

Whether the particular view is visible on the screen.

Syntax:

view_visible[0...7]


Returns: Boolean


Description

This variable can be used to find out if a particular view is currently visible or not. You can also set this variable to effectively turn "on" or "off" a view by setting the value to true (visible) or false (invisible).


Example:

if !view_visible[0]
   {
   view_visible[0] = true;
   }

The above code checks to see if view[0] is visible or not and if it is not, it then sets it to be visible.


Back: Views
Next: view_object
© Copyright YoYo Games Ltd. 2018 All Rights Reserved