[SOLVED] AbstractActionManager is not exported

Hi,

any reason why AbstractActionManager is not exported in babylonjs ?

import { AbstractActionManager } from "babylonjs"

is giving error for me on version 4.0.3

Thank you

Pinging @sebavan

I think we did not export it as it was not used as a standalone class always throug its implementation.

Are you trying to recreate your own manager ?

@sebavan I need it for type only, but can try to find other solution, just was curious why its not there :slight_smile:

export interface ActionManagerHolder {
    actionManager: Nullable<AbstractActionManager>;
}

@sebavan ok started to think about how I use it and found better solution

actionManager: Nullable<Pick<ActionManager, "registerAction">>;
2 Likes