Tutorials
Accessing gizmo mixin
Learn how to access built-in gizmos of the workshop.
Before we start, you may question yourself: what is a “gizmo”? In simple words a gizmo is a tool used for transform which looks like:
Telling the workshop to select another selected object
To tell the workshop to select another keyword we can make use of PluginServices
and request it.
To change gizmo modes for example to set it to rotation or scale or move we can use the SetGizmoMode(int mode)
:
Just like that you can use GetGizmoMode
to get the current gizmo mode selected by the user.
How shall I know if a object is selected?
You can get if already the user has selected an object with GetSelected
which will return nil
if no object was selected: