Set Visible: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit  | 
				 (→Notes) Tags: Mobile edit Mobile web edit Advanced mobile edit  | 
				||
| Line 15: | Line 15: | ||
* Objects set to invisible will also have no physics or collision. Using a [[Late Update]] block can prevent this.  | * 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.  | * 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   | * When the object is set to invisible, all [[constraint]]s associated with the object will get deleted.  | ||
* When an object's visibility is changed, its [[collider]] will update to the current [[Set Position|position]] accordingly.  | * When an object's visibility is changed, its [[collider]] will update to the current [[Set Position|position]] accordingly.  | ||
[[Category:Blocks]]  | [[Category:Blocks]]  | ||
Latest revision as of 01:34, 23 August 2025
Set Visible
  | Type | Script block | 
| Collider | None | 
| Folder | Objects | 
| Ports | |
|---|---|
| Inputs |  Before Object Visible  | 
| Outputs |  After | 
Shows or hides an object.
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.