Frequently Asked Questions > MAXScript Syntax and Terminology >

# What is a Mixin Interface?

MAXScript FAQ > Syntax and Terminology > What is a Mixin Interface?

A Mixin Interface provides a way for a plug-in to expose some of its functionality for use by other plug-ins or MAXScript.

The notion of "Mixin" refers to the idea that the interface is a sub-class of the plug-in class and thus "mixed in" with it.

There are two ways to access methods of a Mixin Interface:

- As a stand-alone interface. This method is usually much faster to execute. In this case, the object to operate on MUST be provided as the first argument, like in someInterface.someMethod $MyObject01 1 2
- As an interface of a particular object, like in $MyObject01.someInterface.someMethod 1 2

When using the second approach, properties and methods exposed by a Mixin Interface can be accessed directly as properties and methods of the object exposing the Interface without explicitly providing the name of the Interface, like in $MyObject01.someMethod 1 2

MAXScript will search for the property or name in the object itself and in all its interfaces. If multiple interfaces of an object expose properties or methods with identical names, specifying the Interface explicitly will resolve such naming collisions.