Holding down a DirectButton

You can try button.guiItem.isButtonDown() to query whether the button is being held down. You can also pass parameters through bind() with the extraArgs parameter. (But even if we didn’t provide an extraArgs parameter, you can always wrap your function up with its arguments with direct.showbase.PythonUtil.Functor.)

David