IF Chip Broken? Here's The Real Solution In Rec Room

Video Summary
In this video, I show how the If chip works in Rec Room and explain that it checks whether something is true or false. I demonstrate how to find and spawn the If chip from the palette, then pair it with a bool variable. By setting the variable to true or false, you can see the If chip execute through the Then output when true and the Else output when false.

Formatted Transcript

Hey everybody, it’s UnderMyCap, and welcome back. Today, I’m going to show you how to use If Chips inside of Rec Room.

What an If Chip Does

An If Chip is a chip that tests whether something is true or false. For example, if you want to check whether a variable is true, an If Chip is exactly what you need.

How to Find the If Chip

First, here’s what the chip looks like. To get one, open your palette (at the bottom) and type “if”. The If Chip looks like a small arrow, and it will look the same each time you spawn it in.

Setting Up a Simple Example with a Boolean Variable

To explain how the If Chip works, we’ll also need a variable. I’m going to grab a Bool (Boolean) variable.

A Bool variable is a type of variable that can only be set to one of two values: true or false. If you look at the wire output, you’ll see it’s either false or true.

For this demonstration, we’re going to write the variable to true. Then, take the variable’s output and plug it into the If Chip.

Understanding “Then” vs. “Else”

When the variable is true, and we execute the If Chip, it will run from the Then output. You don’t have to wire it up exactly like this, but when you execute, you’ll see the Then side light up because the variable is true.

The same idea applies if the value is false. If we set the variable to false and execute the chip, you’ll notice it comes out of the Else output instead.

Why This Chip Is Useful

That’s basically how you use the If Chip in Rec Room. It’s a really useful chip for testing conditions—if something matches what you’re looking for, you can execute through one path; otherwise, it will go through the other.

If you enjoyed this, make sure to leave a like and subscribe, and I can’t wait to see you in the next video.

Video Thumbnail

Recommended Items Based On Post

Products not fetched from DB and/or API. Please check debug logs.

Advertisment

Leave a Reply

Scroll to Top