Execute()
. Therefore, it is only necessary to know the name of the action class to be used and invoke the appropriate method.target
, we could do it taking advantage of the Set Color action in this way:Note: This is a feature that was added late to the API so it is still being implemented. This means that some actions may not yet offer this possibility, but we are working so that in future versions all actions can be executed through static methods.