Sets the function that is executed when the Action is toggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself 
overload 1:
Action.onToggle(leftFunction: (Boolean, Action) -> AnyType): Action | Method Property | Fluent Description | Representation |
|---|---|---|
| leftFunction accepts | typings.2036855992||
| Return Value | typings.1955883606
listFiles
action_wheel
Action
BlockRaycastTypes