Trying to make a side scroller. I'm following a tutorial and getting this error.

I don’t see ‘rendered’ defined anywhere. You need to do a GetComponent() as well