How do I use the if statment to gray out an option?

I did some more digging, and found out there’s the selectable_if command to do what I needed. sorry for the post guys.

Thanks