pan_setevent is not documented in the 3D GameStudio Manual. Is is also not defined in the header files (.h) provided by the SDK.

I am using A6.