How to set the mouse position in a GUI addons?

I’m developping an interface, but I’m new at openframeworks and I need a library function similiar to processing’s controlP5’s

cp5.getPointer().set(mouseX, mouseY);

in order to set the mouse position in relation to the graphic interface. Does anyone know of a way of doing that directly on openframes or any addons with the same function?

I’ve gone through some questions about mouse position setting, like this one: How to set mouse position but it’s not what I’m looking for because I don’t want to change the position of the mouse in relation to openframeworks, I just want to modify this information in relation to the library, so I can control it’s buttons and gui elements.

Thanks in advance.