Try giving your toddler a special assignment to do during class. Also make sure that it is a "Safe" environment where they feel comfortable taking risks.
Have your toddler evaluated for a behavior disorder that may cause non-participation. Otherwise, discipline to elicit the appropriate behavior may be the action that is needed.