PRODUCTS
EXPERIENCES
APPS & GAMES
SUPPORT
Meta accounts are here: you can create a Meta account to log into VR devices. Learn more

META HORIZON WORLDS
LEARN TO CREATE
INTRO TO CREATION

INTRO TO HAND TOOLS

INTRO TO GIZMOS

INTRO TO SCRIPTING

PUBLISHING

LOCAL SCRIPTING

EVENTS

MOTION

ACTIONS

RESOURCES

SET OBJECT VISIBILITY

Makes an object visible or invisible.

Appearance in Composition Pane
Description

Set object visibility allows you to make an object visible or invisible.
Parameters

object


Example 1: Make a text object visible

When the player presses button 1 on their controller while holding an object with this script, the text object becomes visible.

Next Up


Set Object Collidability

SET OBJECT COLLIDABILITY

…
Makes an object collidable or non collidable.
…

Set Object Color

SET OBJECT COLOR

…
Changes the color of an object.
…

Set Trigger Detection

SET TRIGGER DETECTION

…
Enable or disable a trigger.
…

QUEST 3

QUEST PRO

QUEST 2

ACCESSORIES

RIFT S

APPS & GAMES

SUPPORT

DEVELOPERS

VR FOR WORK

ALL PRODUCTS
Quest 3
Quest Pro
Quest 2
Quest 2 (Refurbished)
Rift S
Accessories
Quest
Go
Rift
Compare Headset
MORE META QUEST
Forums
Blog
Referrals
VR for Good
Creators
Download SDKs
ABOUT
Careers
Meta Connect
Research

ALL PRODUCTS
Quest 3
Quest Pro
Quest 2
Quest 2 (Refurbished)
Rift S
Accessories
Quest
Go
Rift
Compare Headset

MORE META QUEST
Forums
Blog
Referrals
VR for Good
Creators
Download SDKs

ABOUT
Careers
Meta Connect
Research

Privacy
Legal
© Meta 2023