Description
Shows or hides a previously spawned static object for a specified audience without destroying it. Hidden objects retain their position, rotation, scale, and collision state. Useful for revealing map elements at specific moments, creating team-asymmetric environments, or toggling props during different game phases.
Snippet
Set Object Visibility(Last Created Object, All Players, False);
Properties
Returns: Void
Parameters: Object, Visible To, Visible
Object
Type: Object, Default: Last Created Object
The static object whose visibility will be changed.Visible To
Type: Player, Default: All Players
The players for whom visibility will be changed.Visible
Type: Boolean, Default: True
If False, the object will not render for the specified audience.