I have an image sequence loaded as a texture on a simple plane in blender cycles. I am trying to write a script to change the offset of that sequence over time, but I cannot find the code to change the offset. Copying the offset data path gives:
but how do I access this? I have tried the following:
my_mat = bpy.data.materials(‘material.001’)
offset_image = my_mat.node_tree.nodes[‘Image Texture’].image_user.frame_offset
but I get an error: ‘bpy_prop_collection’ object is not callable
Can anyone tell me how to get access to the “offset” via script please?