Skip to content

Set Renderer Enabled ​

Show / hideRenderer.SetEnabled

Show or hide renderers without disabling the object.

Turns only the visuals (renderers) on or off. The object keeps running, so its collisions and triggers still work while invisible.

It changes only on the screen where the action runs. To keep everyone in step, react to a synced variable with On Variable Changed and run this action there (The same state for everyone).

Official docs: Renderer.enabled (Unity)

Settings

NameTypeDefault
TargetsRenderer list
OnOn/Offtrue

On a card

WhenInteract⋯
What to do
Set Renderer Enabled⋯
TargetsNone
OnOn
+ Add what to do

In Udon

Roughly this code, once per target ({ } are the settings):

{targets}.enabled = {enabled};

In the same category