How do I toggle an objects visibility in blender game engine?
This is very easy to do. All you need is a Boolean property to be toggled, and when that property is true, the visibility will be true, and when that property is false the visibility will be false. In this case we are using NameOfProp as the name for the Boolean property, but of course it could be anything.



A working example can be found here.