Eyeon:Script/Reference/Applications/Fusion/Classes/Composition/SetActiveTool
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes | Composition
Contents |
Composition : SetActiveTool
Arguments
composition:SetActiveTool ( tool )
- tool(userdata, required)
The tool that will be made active.
Returns
This function does not return a value.
Remarks
This function will set the currently active tool to one specified by script.
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
-- Creates a loader and sets the active tool to it Loader1 = Loader({}) composition:SetActiveTool(Loader1)
Tips for SetActiveTool (edit)
To deselect all tools, omit the parameter or use nil (LUA) or None (Python):
-- deselect all comp:SetActiveTool(nil)