GUI DirectButton question

I know that I can set up a callback when the button is pressed, but is there built in functionality to get events on Button_Down, Button_Just_Down, and Button_Just_Up? Immediately I need to know if a button is being held so I can move something in the scene accordingly.

The obvious answer is to subclass in c++ and recompile, but I haven’t resorted to that yet, so I’d like to keep things as simple as I can for now.

You can bind to various events:
panda3d.org/apiref.php?page= … iBase#bind
In particular, you want to bind B1PRESS and B1RELEASE.

David