Issue following a tutorial on Advanced Materials

Yea- you have to create that event.
You’re casting to some class you’ve already made, and calling a function you’ve already made. You might’ve clicked on a part 2.

Here’s a post I made about dynamic materials if you’re confused about the materials themselves: