unsuscribe accept --> solved

Hello,

To intercept key event, we use the self.accept function, to define the behaviour for each character.

Depends of where I am in the game, I wish to “de-accept”, to desactivate some keys.

Is it possible?

Thanks

panda3d.org/manual/index.php/Event_Handlers

See the “ignore()” method.

http://www.panda3d.org/manual/index.php/Event_Handling_and_Messenger_Utilities

self.ignore

Ok. I’ve not found this on the manual.
I will check the wiki for now

Thanks a lot

The wiki is the manual. :wink: