I've been trying to create an animation where an object blinks on and off.
For example, I have a Cube and I set a keyframe on it's Restrict Visibility icon (the "eye" icon) with I
, then I toggle off that "eye" so my cube doesn't show in the Viewport and again I press I
to record that keyframe. Then, when I preview the animation in the Viewport, I see my cube appears and then disappears like I want, but when I render it, the cube does not disappear at all.
What am I doing wrong?