Visible
Last updated
Last updated
The Visible
variable controls whether an object and its children appear.
Setting Visible to false hides the selected instance.
Setting a parent's Visible
variable to false also hides all children. Note that this does not explicitly set the Visible property to false for all children, but a child's effective visibility depends on its parent.
If an instance is part of a parent which stacks its children (has a Children Layout
of Left to Right Stack
or Top to Bottom Stack
), then it will no longer be considered when stacking siblings if it is invisible. In other words, making an item invisible removes it from the stack.
If the stack contains children which use a Width Units
of Ratio
, then hiding any of the siblings results in the children with ratio width adjusting to occupy the extra space.
An invisible object can be selected by clicking on it in the Project tab or in the Editor tab.
Visible items are given preferential selection even if they are ordered behind invisible items.