passing args to tasks

A callback is just a Python function. So put the name of your function in where the example above says “myCallback”. This is the same thing you would have passed as the first parameter to taskMgr.add() if you weren’t creating the Task object explicitly.

David