How to add a gizmo (like in the editor) to a mesh in runtime?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gamemap

I want to move and rotate a mesh in my programm like in the editor but it should work also with an exported project.
My problem is that if I move around the object the rotation direction is wrong. The Godot editor moves the handels with the view direction so the rotation direction moves with the view direction.

Is it possible to use the editor gizmo for a project outside the editor?

If not, is it possible to program this with a few lines of code?