invalid left-hand assignment error issue

I'm pretty much using the keyTyped() example from the p5 example and getting an invalid left hand assignment error in console... this line causes it: (even when I use "==" instead of "===")

if (key === 'p' && paused = false){

ideas?

thanks!

Answers

Sign In or Register to comment.