This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
killer95533's profile picture

color = variable how?

Started by killer95533, 12 August 2016 - 02:35 AM
killer95533 #1
Posted 12 August 2016 - 04:35 AM
I'm trying to make a sorta selection button for a game i'm working on and to do that i would like to make a certain color into a variable/Boolean that way when i click on it, it would change color to show it was selected i have tried to set the letter "a" as the holder for the color which is black and white does anyone know how to do that?
Bomb Bloke #2
Posted 12 August 2016 - 07:33 AM
a = colours.white

http://www.computercraft.info/wiki/Colors_%28API%29