Jump to content

Debug Mode Help please


Recommended Posts

  • Premium

game.py -> def OnUpdate()

        xMouse, yMouse = wndMgr.GetMousePosition()

        print("MousePosition: %d %d" % (xMouse, yMouse)) #display position in debug console
        chat.AppendChat(chat.CHAT_TYPE_INFO, "MousePosition: %d %d" % (xMouse, yMouse)) #display position on chat

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.