Set Visible

Revision as of 13:01, 21 June 2025 by -u ndefined- (talk | contribs) (Remove useless example but add interesting note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shows or hides an object.

Set Visible
Set_Visible.png
TypeScript block
ColliderNone
FolderObjects
Ports
Inputs Before
Object
Visible
Outputs After

Notes

  • Objects set to invisible will also have no physics or collision. Using a 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.
  • When an object's visibility is changed, its collider will update to the current position accordingly.