added support for rotating actions and triggers, close #1515