Set Visible

From Fancade Wiki
Revision as of 19:08, 16 May 2024 by Nikitaivanov (talk | contribs) (Created page with "Shows or hides an object. File:Set_Visible.png = Example = File:False_example.png The brick will disappear from the level on Play. = Notes = * Objects set to invisible will also have no physics or collision. Using a [Late Update](https://www.fancade.com/wiki/blocks/late-update) block can prevent this. * Invisible objects are not affected by physics, however their velocity is stored and will be applied when the object is set visible again. * When the object is...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shows or hides an object.

Example

File:False example.png The brick will disappear from the level on Play.

Notes

  • Objects set to invisible will also have no physics or collision. Using a [Late Update](https://www.fancade.com/wiki/blocks/late-update) block can prevent this.
  • Invisible objects are not affected by physics, however their velocity is stored and will be applied when the object is set visible again.
  • When the object is set to invisible, all constraints associated with the object will get deleted.