- Home /
Question by
jakeflaze3859 · Jul 11, 2014 at 02:05 AM ·
javascripttriggercolor
How do I trigger events using color using JavaScript?
For example if the color green is detected play an audio clip. I'm using javascript.
Comment
Answer by Kaz_Yamof · Jul 11, 2014 at 12:53 PM
Well, you just said how to do it.
if(yourColor == color.green)
{
do something;
}
Do you know how to program, right?