Hi, I am trying to do something very simple: have an object turn red, blue, red, blue, forever like a police light. It doesn’t have to glow. I am using Blender 3.x and 4.x.
I’ve googled the heck out of this and nothing works! How do you do this?
The ‘#frame’ just creates a Driver in that property, and if you go to the Drivers Editor, and look down the material’s nodetree, you’ll find that driver, and you can see the ‘frame’ word in the expression box.
Another alternative from the solution from @SterlingRoth, is to use the Attribute node, with Type set to ‘View_Layer’, and the attribute to ‘frame_current’ (the API name). The result is the same, but with this, you’re accessing the property from the scene and not from a driver; and you can see the name of the variable in the material nodetree.