Mouselook- multiple users

Hey I’m having issues with the activation and deactivation of a mouselook script i made following Goran Milovanovic.

I would like the mouselook script to have different users in an RTS project but the mouselook stops working.

If anyone could take a peak and has some thoughts i’d be much obliged.

Sorry the marked as solved option doesn’t show for me in the thread tools.

I figured it out through further inspection.

this line needed to be added===> mouse_look = MouseLook(logic.getCurrentController())

init = False

def main():
Here under main
global init
if init:
mouse_look.main()
else:
init = True