Head Switching

Hello Again!
I am looking for some help into turning off and on the hide property of an object using an if statement.

http://gyazo.com/e2496c1568c80d4cb25236fb6aabc221

The way I would like this to be set up is as follows. I have 4 different versions of the head, when the property “HeadType” = 1 I want the first head to appear. When “HeadType” = 2 I want the second head to appear with the first head disappearing and so on. I am having lots of trouble figuring out how to use this properly as blender just tell me I am not allowed to use it :confused:

This is my current code and the issue I am having when using this method. If anyone could help with showing me how to switch this that would be great :slight_smile:

-UtopiaRules

Have you tried to set a Python driver on the visibility property?

Thanks for the tip! I didn’t end up using the python drivers but instead used normal drivers controlled by the HeadType property! Thanks for helping anyway as your suggestion helped me come up with the idea :smiley: