Is there a way to drive "Mute a node" or Toggle "Auto Refresh" in the Image Texture Node in Movie / Sequence Image Mode Hi There Blender Peeps..
I am in need of some help, I am wanting to make a shortcut in the Item Properties to toggle a node from working,
The Item Properties shortcut I speak of is the area Right Side Bar of the VIEWPORT under ITEM -&gt; Properties, and it is found in PROPERTIES Window -&gt; Object Properties -&gt; Custom Properties. It is here where you add these properties.
So to disable the node from working in my scene, which essentially improves playback performance from not having to playback the movie in the background...
I have found 3 ways to disable the movie from playing. I am wanting to do one of the following by using drivers and make the Item properties by the Custom property to be &quot;0&quot; or &quot;1&quot; which will Toggle the setting...
The 3 Ways I have found to disable the node from playing the movie.
1.
Mute a Texture Node (Toggle it via the Item Properties Shortcut)
I am unable to find anywhere a way to drive muting a node.?!
2.
Toggle the &quot;Auto Refresh Button&quot; on the Texture Node. (When the Texture node is set to movie or Image Sequence) the Auto Refresh Button Appears.
3.
Changing the frames count from 600 to 0, will also stop the movie playback, I know that if I can Drive this setting, I can make the expression var*600 (this would make the 0 = 0, and 1 = 600)
The Auto Refresh Button

I have tried a Driver but it appears that the auto-refresh button drives the Item Properties Shortcut!
(I want the Item properties Shortcut to Enable / Disable the Auto Refresh) Not the other way around!!
Please ignore that offset is purple, this is a driver and working fine. I am wanting to make the auto-refresh button to be the item that is driven by the new. shortcut
The auto refresh button has a data path &quot;node_tree.nodes[&quot;Image Texture&quot;].image_user.use_auto_refresh&quot;
The Item properties have a data path [&quot;prop&quot;]
This is the Item Properties Box

This is the item properties section..

With Respects to the answer provided and using the script,
Is it possible to have the Auto Refresh for that Node appear in the properties box seen here?
Those properties are not animatable. You can't add a driver to them. Although they can be used to drive other properties, as you noticed.
However as stated in the comments you can use a Mix RGB node and drive the factor field, to be 0 or 1 for True or False.

Use the first Fac to be driven by the Auto Refresh custom property, and the second Fac to be driven by the Mute property. I set it to black but you can also use a Mix shader with a transparent shader like so depending on what you want to achieve.