Ok So I have this script:
def main():
GL = GameLogic
cont = GL.getCurrentController()
own = cont.owner
move = cont.sensors['Move']
if move.positive:
own['VisTimer'] = 0
own.setVisible(1)
if own['VisTimer'] >= 1:
print 'not moveing, Invisible'
own.setVisible(0)
main()
It is supposed to automatically turn the mouse invisible after a certain time.
Here is the blend:
CustomCursor.blend (142 KB)
The only problem is, that the mouse refuses to become invisible when the timer is past 1.
Please Help.